function BlockContentInterface::setNonReusable

Same name in other branches
  1. 8.9.x core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setNonReusable()
  2. 10 core/modules/block_content/src/BlockContentInterface.php \Drupal\block_content\BlockContentInterface::setNonReusable()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.