protected function GroupContentMenuRouteProvider::getPluginIds in Group Content Menu 8
Get plugin IDs.
Return value
array The plugin IDs.
File
- src/
Routing/ GroupContentMenuRouteProvider.php, line 225
Class
- GroupContentMenuRouteProvider
- Provides routes for group_content_menu content.
Namespace
Drupal\group_content_menu\RoutingCode
protected function getPluginIds() {
$plugin_ids = [];
foreach (array_keys(GroupContentMenuType::loadMultiple()) as $entity_type_id) {
$plugin_ids[] = "group_content_menu:{$entity_type_id}";
}
return $plugin_ids ?: [
'group_content_menu',
];
}