BlockContentForm::$entity

Same name in other branches
  1. 8.9.x core/modules/block_content/src/BlockContentForm.php \Drupal\block_content\BlockContentForm::entity
  2. 10 core/modules/block_content/src/BlockContentForm.php \Drupal\block_content\BlockContentForm::entity
  3. 11.x core/modules/block_content/src/BlockContentForm.php \Drupal\block_content\BlockContentForm::entity

The block content entity.

Type: \Drupal\block_content\BlockContentInterface

Overrides ContentEntityForm::$entity

File

core/modules/block_content/src/BlockContentForm.php, line 21

Class

BlockContentForm
Form handler for the custom block edit forms.

Namespace

Drupal\block_content

Code

protected $entity;

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