function PreviewAwarePluginInterface::setInPreview
Set preview mode for the plugin.
Parameters
bool $in_preview: TRUE if the plugin should be set to preview mode, FALSE otherwise.
1 method overrides PreviewAwarePluginInterface::setInPreview()
- LayoutDefault::setInPreview in core/lib/ Drupal/ Core/ Layout/ LayoutDefault.php 
- Set preview mode for the plugin.
File
- 
              core/lib/ Drupal/ Core/ Plugin/ PreviewAwarePluginInterface.php, line 22 
Class
- PreviewAwarePluginInterface
- Provides an interface to support preview mode injection in plugins.
Namespace
Drupal\Core\PluginCode
public function setInPreview(bool $in_preview) : void;Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
