LayoutDefault::$inPreview

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::inPreview
  2. 10 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::inPreview

Whether the plugin is being rendered in preview mode.

Type: bool

File

core/lib/Drupal/Core/Layout/LayoutDefault.php, line 26

Class

LayoutDefault
Provides a default class for Layout plugins.

Namespace

Drupal\Core\Layout

Code

protected $inPreview = FALSE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.