You are here

public function BlockContentInterface::setNonReusable in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setNonReusable()
  2. 9 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_content

Code

public function setNonReusable();