You are here

public function FieldsPluginOptions::getFallbackLayoutDefinition in Layout Plugin Views 8

Same name and namespace in other branches
  1. 8.2 src/FieldsPluginOptions.php \Drupal\layout_plugin_views\FieldsPluginOptions::getFallbackLayoutDefinition()

Return value

array

File

src/FieldsPluginOptions.php, line 92

Class

FieldsPluginOptions

Namespace

Drupal\layout_plugin_views

Code

public function getFallbackLayoutDefinition() {
  $definitions = $this->layoutPluginManager
    ->getDefinitions();
  return array_shift($definitions);
}