function LayoutPluginManagerInterface::getLayoutOptions

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.