function CategorizingPluginManagerInterface::getCategories

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

1 method overrides CategorizingPluginManagerInterface::getCategories()
LayoutPluginManager::getCategories in core/lib/Drupal/Core/Layout/LayoutPluginManager.php
Gets the names of all categories.

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.