public function BlockContent::setReusable in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block_content/src/Entity/BlockContent.php \Drupal\block_content\Entity\BlockContent::setReusable()
Sets the block to be reusable.
Return value
$this
Overrides BlockContentInterface::setReusable
File
- core/modules/ block_content/ src/ Entity/ BlockContent.php, line 314 
Class
- BlockContent
- Defines the custom block entity class.
Namespace
Drupal\block_content\EntityCode
public function setReusable() {
  return $this
    ->set('reusable', TRUE);
}