function LayoutPluginManagerInterface::getGroupedDefinitions
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getGroupedDefinitions()
- 10 core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getGroupedDefinitions()
- 11.x core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getGroupedDefinitions()
Gets sorted plugin definitions grouped by category.
In addition to grouping, both categories and its entries are sorted, whereas plugin definitions are sorted by label.
Parameters
array[]|null $definitions: (optional) The plugin definitions to group. If omitted, all plugin definitions are used.
Return value
\Drupal\Core\Layout\LayoutDefinition[][]
Overrides CategorizingPluginManagerInterface::getGroupedDefinitions
1 method overrides LayoutPluginManagerInterface::getGroupedDefinitions()
- LayoutPluginManager::getGroupedDefinitions in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php
File
-
core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManagerInterface.php, line 56
Class
- LayoutPluginManagerInterface
- Provides the interface for a plugin manager of layouts.
Namespace
Drupal\Core\LayoutCode
public function getGroupedDefinitions(array $definitions = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.