Block::$id

Same name in this branch
  1. 8.9.x core/modules/block/src/Entity/Block.php \Drupal\block\Entity\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. 10 core/modules/block/src/Entity/Block.php \Drupal\block\Entity\Block::id
  4. 10 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 plugin ID.

Type: string

File

core/lib/Drupal/Core/Block/Annotation/Block.php, line 21

Class

Block
Defines a Block annotation object.

Namespace

Drupal\Core\Block\Annotation

Code

public $id;

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