You are here

public function CategorizingPluginManagerInterface::getCategories in Drupal 8

Same name and namespace in other branches
  1. 9 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();