Skip to content
Snippets Groups Projects
Commit b85e6b0c authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3506504: Remove Content Planner from Toolbar to prevent conflicts

parent 95fab6fe
No related branches found
No related tags found
No related merge requests found
...@@ -103,3 +103,12 @@ function varbase_content_planner_preprocess_varbase_item_list(array &$variables) ...@@ -103,3 +103,12 @@ function varbase_content_planner_preprocess_varbase_item_list(array &$variables)
]; ];
} }
} }
/**
* Implements hook_toolbar().
*/
function varbase_content_planner_toolbar_alter(&$items) {
if (isset($items['content_planner'])) {
unset($items['content_planner']);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment