You are here

protected property SectionComponentBuildRenderArrayEvent::$inPreview in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::inPreview
  2. 10 core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php \Drupal\layout_builder\Event\SectionComponentBuildRenderArrayEvent::inPreview

Whether the component is in preview mode or not.

Type: bool

File

core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php, line 47

Class

SectionComponentBuildRenderArrayEvent
Event fired when a section component's render array is being built.

Namespace

Drupal\layout_builder\Event

Code

protected $inPreview;