Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockContent.php

function BlockContent::setNonReusable

Overrides BlockContentInterface::setNonReusable

File

core/modules/block_content/src/Entity/BlockContent.php, line 273

Class

BlockContent
Defines the content block entity class.

Namespace

Drupal\block_content\Entity

Code

public function setNonReusable() {
    return $this->set('reusable', FALSE);
}
RSS feed
Powered by Drupal