Commit 3e0a871e authored by Igor Biki's avatar Igor Biki
Browse files

ISTWCMS-3830 Removing empty line, and moving form attachment.

parent c2ad875b
......@@ -150,12 +150,11 @@ class ContentManagementMenuBlock extends BlockBase implements ContainerFactoryPl
* {@inheritDoc}
*/
public function blockForm($form, FormStateInterface $form_state) {
$form['#attached']['library'][] = 'uw_dashboard/uw-styles';
// Use configuration if exists, otherwise select all available. Using
// serialize because dot is not supported as array key, exception will be
// thrown from ConfigBase.php:211.
$selected_menus = unserialize($this->configuration['selected_menus']);
$form['#attached']['library'][] = 'uw_dashboard/uw-styles';
// Get all content menu items, load them.
$menu_first_level = $this->getContentMenuItems();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment