You are here

public function BlockContentInterface::setNonReusable in Drupal 8

Same name and namespace in other branches
  1. 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 72

Class

BlockContentInterface
Provides an interface defining a custom block entity.

Namespace

Drupal\block_content

Code

public function setNonReusable();