public function FieldsPluginOptions::getLayout in Layout Plugin Views 8
Same name and namespace in other branches
- 8.2 src/FieldsPluginOptions.php \Drupal\layout_plugin_views\FieldsPluginOptions::getLayout()
Retrieves the machine name of the selected layout.
Return value
string
2 calls to FieldsPluginOptions::getLayout()
- FieldsPluginOptions::getSelectedLayoutDefinition in src/
FieldsPluginOptions.php - Retrieves the definition of the selected layout.
- FieldsPluginOptions::hasValidSelectedLayout in src/
FieldsPluginOptions.php
File
- src/
FieldsPluginOptions.php, line 35
Class
Namespace
Drupal\layout_plugin_viewsCode
public function getLayout() {
return $this->plugin->options['layout'];
}