BlockForm::$entity

Same name in other branches
  1. 9 core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::entity
  2. 8.9.x core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::entity
  3. 11.x core/modules/block/src/BlockForm.php \Drupal\block\BlockForm::entity

The block entity.

Type: \Drupal\block\BlockInterface

Overrides EntityForm::$entity

File

core/modules/block/src/BlockForm.php, line 32

Class

BlockForm
Provides form for block instance forms.

Namespace

Drupal\block

Code

protected $entity;

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