You are here

public function FieldsPluginOptions::getLayout in Layout Plugin Views 8.2

Same name and namespace in other branches
  1. 8 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

FieldsPluginOptions

Namespace

Drupal\layout_plugin_views

Code

public function getLayout() {
  return $this->plugin->options['layout'];
}