public function FieldsPluginOptions::hasValidSelectedLayout in Layout Plugin Views 8
Same name and namespace in other branches
- 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
Namespace
Drupal\layout_plugin_viewsCode
public function hasValidSelectedLayout() {
  return $this->layoutPluginManager
    ->hasDefinition($this
    ->getLayout());
}