You are here

public function FieldsPluginOptions::hasValidSelectedLayout in Layout Plugin Views 8

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

Return value

bool

1 call to FieldsPluginOptions::hasValidSelectedLayout()
FieldsPluginOptions::getSelectedLayoutDefinition in src/FieldsPluginOptions.php
Retrieves the definition of the selected layout.

File

src/FieldsPluginOptions.php, line 69

Class

FieldsPluginOptions

Namespace

Drupal\layout_plugin_views

Code

public function hasValidSelectedLayout() {
  return $this->layoutPluginManager
    ->hasDefinition($this
    ->getLayout());
}