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

Breadcrumb

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

function BlockContent::isReusable

Overrides BlockContentInterface::isReusable

1 call to BlockContent::isReusable()
BlockContent::postSave in core/modules/block_content/src/Entity/BlockContent.php
Acts on a saved entity before the insert or update hook is invoked.

File

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

Class

BlockContent
Defines the content block entity class.

Namespace

Drupal\block_content\Entity

Code

public function isReusable() {
    return (bool) $this->get('reusable')->value;
}
RSS feed
Powered by Drupal