Commit eda63b1b authored by chegor's avatar chegor Committed by matio89

Issue #2612694 by chegor: Add new view

parent 831f5b68
......@@ -344,4 +344,13 @@ function admin_toolbar_tools_menu_links_discovered_alter(&$links) {
);
}
}
\ No newline at end of file
// If module views_ui enabled.
if (\Drupal::moduleHandler()->moduleExists('views_ui')) {
$links['views_ui.add'] = array(
'title' => 'Add new view',
'route_name' => 'views_ui.add',
'parent' => 'entity.view.collection',
'weight' => -5,
);
}
}
{
"name": "drupal/admin_toolbar",
"description": "Admin Toolbar improve the default Drupal Toolbar, it lets the hover of sub menus.",
"type": "drupal-module",
"homepage": "http://drupal.org/project/admin_toolbar",
"authors": [
{
"name": "Mohamed Anis Taktak",
"homepage": "https://www.drupal.org/u/matio89"
}
],
"support": {
"issues": "https://www.drupal.org/project/issues/admin_toolbar"
},
"license": "GPL-2.0+",
"require": { }
}
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