You are here

protected function LayoutPluginManager::getType in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::getType()

A string identifying the plugin type.

This string should be unique and generally will correspond to the string used by the discovery, e.g. the annotation class or the YAML file name.

Return value

string A string identifying the plugin type.

Overrides FilteredPluginManagerTrait::getType

1 call to LayoutPluginManager::getType()
LayoutPluginManager::__construct in core/lib/Drupal/Core/Layout/LayoutPluginManager.php
LayoutPluginManager constructor.

File

core/lib/Drupal/Core/Layout/LayoutPluginManager.php, line 57

Class

LayoutPluginManager
Provides a plugin manager for layouts.

Namespace

Drupal\Core\Layout

Code

protected function getType() {
  return 'layout';
}