Condition::$category

Same name in other branches
  1. 9 core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition::category
  2. 8.9.x core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition::category
  3. 11.x core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition::category

The category under which the condition should listed in the UI.

Type: \Drupal\Core\Annotation\Translation

Related topics

File

core/lib/Drupal/Core/Condition/Annotation/Condition.php, line 67

Class

Condition
Defines a condition plugin annotation object.

Namespace

Drupal\Core\Condition\Annotation

Code

public $category;

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