public function BlockContentInterface::setNonReusable in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setNonReusable()
Sets the block to be non-reusable.
Return value
$this
1 method overrides BlockContentInterface::setNonReusable()
- BlockContent::setNonReusable in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Sets the block to be non-reusable.
File
- core/
modules/ block_content/ src/ BlockContentInterface.php, line 47
Class
- BlockContentInterface
- Provides an interface defining a custom block entity.
Namespace
Drupal\block_contentCode
public function setNonReusable();