Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
BlockPluginTrait.php
BlockPluginTrait::$inPreview
Whether the plugin is being rendered in preview mode.
Type:
bool
File
core/
lib/
Drupal/
Core/
Block/
BlockPluginTrait.php
, line 38
Class
BlockPluginTrait
Provides the base implementation of a block plugin.
Namespace
Drupal\Core\Block
Code
protected $inPreview =
FALSE
;
RSS feed