function LayoutDefault::setInPreview
Set preview mode for the plugin.
Parameters
bool $in_preview: TRUE if the plugin should be set to preview mode, FALSE otherwise.
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.