public function CategorizingPluginManagerInterface::getSortedDefinitions in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Plugin/CategorizingPluginManagerInterface.php \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getSortedDefinitions()
Gets sorted plugin definitions.
Parameters
array[]|null $definitions: (optional) The plugin definitions to sort. If omitted, all plugin definitions are used.
Return value
array[] An array of plugin definitions, sorted by category and label.
File
- lib/
Drupal/ Component/ Plugin/ CategorizingPluginManagerInterface.php, line 33 - Contains \Drupal\Component\Plugin\CategorizingPluginManagerInterface.
Class
- CategorizingPluginManagerInterface
- Defines an interface for plugin managers that categorize plugin definitions.
Namespace
Drupal\Component\PluginCode
public function getSortedDefinitions(array $definitions = NULL);