Block::$id

Same name in this branch
  1. 10 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::id
Same name in other branches
  1. 9 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::id
  2. 9 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::id
  3. 8.9.x core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::id
  4. 8.9.x core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::id
  5. 11.x core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::id
  6. 11.x core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::id

The ID of the block.

Type: string

File

core/modules/block/src/Entity/Block.php, line 71

Class

Block
Defines a Block configuration entity class.

Namespace

Drupal\block\Entity

Code

protected $id;

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