Block::$category
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::category
- 10 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::category
- 11.x core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::category
The category in the admin UI where the block will be listed.
Type: \Drupal\Core\Annotation\Translation
Related topics
File
-
core/
lib/ Drupal/ Core/ Block/ Annotation/ Block.php, line 39
Class
- Block
- Defines a Block annotation object.
Namespace
Drupal\Core\Block\AnnotationCode
public $category = '';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.