function CategorizingPluginManagerInterface::getCategories

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/CategorizingPluginManagerInterface.php \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getCategories()
  2. 8.9.x core/lib/Drupal/Component/Plugin/CategorizingPluginManagerInterface.php \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getCategories()
  3. 11.x core/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

core/lib/Drupal/Component/Plugin/CategorizingPluginManagerInterface.php, line 16

Class

CategorizingPluginManagerInterface
Defines an interface for plugin managers that categorize plugin definitions.

Namespace

Drupal\Component\Plugin

Code

public function getCategories();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.