function ContextDefinition::get
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Annotation/ContextDefinition.php \Drupal\Core\Annotation\ContextDefinition::get()
- 10 core/lib/Drupal/Core/Annotation/ContextDefinition.php \Drupal\Core\Annotation\ContextDefinition::get()
- 11.x core/lib/Drupal/Core/Annotation/ContextDefinition.php \Drupal\Core\Annotation\ContextDefinition::get()
Returns the value of an annotation.
Return value
\Drupal\Core\Plugin\Context\ContextDefinitionInterface
Overrides Plugin::get
File
-
core/
lib/ Drupal/ Core/ Annotation/ ContextDefinition.php, line 159
Class
- ContextDefinition
- Defines a context definition annotation object.
Namespace
Drupal\Core\AnnotationCode
public function get() {
return $this->definition;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.