You are here

public function LayoutPluginManagerInterface::getLayoutOptions in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getLayoutOptions()
  2. 10 core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php \Drupal\Core\Layout\LayoutPluginManagerInterface::getLayoutOptions()

Returns an array of layout labels grouped by category.

Return value

string[][] A nested array of labels suitable for #options.

1 method overrides LayoutPluginManagerInterface::getLayoutOptions()
LayoutPluginManager::getLayoutOptions in core/lib/Drupal/Core/Layout/LayoutPluginManager.php
Returns an array of layout labels grouped by category.

File

core/lib/Drupal/Core/Layout/LayoutPluginManagerInterface.php, line 64

Class

LayoutPluginManagerInterface
Provides the interface for a plugin manager of layouts.

Namespace

Drupal\Core\Layout

Code

public function getLayoutOptions();