public function CategorizingPluginManagerInterface::getCategories in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Plugin/CategorizingPluginManagerInterface.php \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getCategories()
Gets the names of all categories.
Return value
string[] An array of translated categories, sorted alphabetically.
File
- lib/
Drupal/ Component/ Plugin/ CategorizingPluginManagerInterface.php, line 21 - Contains \Drupal\Component\Plugin\CategorizingPluginManagerInterface.
Class
- CategorizingPluginManagerInterface
- Defines an interface for plugin managers that categorize plugin definitions.
Namespace
Drupal\Component\PluginCode
public function getCategories();