You are here

public function LayoutDefault::setInPreview in Drupal 10

File

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

Class

LayoutDefault
Provides a default class for Layout plugins.

Namespace

Drupal\Core\Layout

Code

public function setInPreview(bool $in_preview) : void {
  $this->inPreview = $in_preview;
}