You are here

public function LayoutBase::getCategory in Layout Plugin (obsolete, use core's Layout Discovery) 8

Gets the human-readable category.

Return value

\Drupal\Core\Annotation\Translation The human-readable category.

File

src/Plugin/Layout/LayoutBase.php, line 48

Class

LayoutBase
Provides a base class for Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function getCategory() {
  return $this->pluginDefinition['category'];
}