function 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.