Block::$category

Same name in other branches
  1. 9 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::category
  2. 10 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::category
  3. 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\Annotation

Code

public $category = '';

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