public function FieldsPluginOptions::getSelectedLayoutDefinition in Layout Plugin Views 8
Same name and namespace in other branches
- 8.2 src/FieldsPluginOptions.php \Drupal\layout_plugin_views\FieldsPluginOptions::getSelectedLayoutDefinition()
Retrieves the definition of the selected layout.
Return value
array
File
- src/
FieldsPluginOptions.php, line 78
Class
Namespace
Drupal\layout_plugin_viewsCode
public function getSelectedLayoutDefinition() {
return $this
->hasValidSelectedLayout() ? $this->layoutPluginManager
->getDefinition($this
->getLayout()) : [];
}