Commit a538d56c authored by Igor Biki's avatar Igor Biki
Browse files

ISTWCMS-3830 Update to comments, imports.

parent 18f322d0
......@@ -7,7 +7,6 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Menu\MenuLinkTreeInterface;
use Drupal\Core\Menu\MenuTreeParameters;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
......@@ -69,7 +68,7 @@ class ContentManagementMenuBlock extends BlockBase implements ContainerFactoryPl
],
'#headers' => [
$this->t($primary_menu_item->link->getTitle()),
$this->t('Operations')
$this->t('Operations'),
],
];
......@@ -237,7 +236,7 @@ class ContentManagementMenuBlock extends BlockBase implements ContainerFactoryPl
}
/**
* Process menu tree. Recursive function (invokes self for subtree).
* Process menu tree, setting key to be plugin id, and value to be title.
*
* @param $tree
* Tree to be processed, access level checked.
......
Supports Markdown
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