function BlockPluginTrait::setInPreview
File
-
core/
lib/ Drupal/ Core/ Block/ BlockPluginTrait.php, line 294
Class
- BlockPluginTrait
- Provides the base implementation of a block plugin.
Namespace
Drupal\Core\BlockCode
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.