public function ContextDefinition::get in Typed Data API enhancements 8
Returns the value of an annotation.
Return value
\Drupal\typed_data\Context\ContextDefinitionInterface Return the Typed Data 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 Typed Data.
Namespace
Drupal\typed_data\Context\AnnotationCode
public function get() {
return $this->definition;
}