function ContextDefinition::get
Returns the value of an annotation.
Return value
\Drupal\rules\Context\ContextDefinitionInterface Return the Rules version of the ContextDefinitionInterface.
Overrides ContextDefinition::get
File
-
src/
Context/ Annotation/ ContextDefinition.php, line 47
Class
- ContextDefinition
- Extends the core context definition annotation object for Rules.
Namespace
Drupal\rules\Context\AnnotationCode
public function get() {
return $this->definition;
}