function LayoutDefault::setInPreview
Same name in other branches
- 10 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::setInPreview()
- 11.x core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::setInPreview()
Overrides PreviewAwarePluginInterface::setInPreview
File
-
core/
lib/ Drupal/ Core/ Layout/ LayoutDefault.php, line 133
Class
- LayoutDefault
- Provides a default class for Layout plugins.
Namespace
Drupal\Core\LayoutCode
public function setInPreview(bool $in_preview) : void {
$this->inPreview = $in_preview;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.