Block::$id

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::id
Same name and namespace 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. 10 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::id
  6. 10 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 69

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.