You are here

public property Block::$category in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Block/Annotation/Block.php \Drupal\Core\Block\Annotation\Block::category
  2. 9 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 = '';