public function ContextDefinition::getDefaultValue in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::getDefaultValue()
- 9 core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php \Drupal\Core\Plugin\Context\ContextDefinition::getDefaultValue()
Gets the default value for this context definition.
Return value
mixed The default value or NULL if no default value is set.
Overrides ContextDefinitionInterface::getDefaultValue
File
- core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php, line 196
Class
- ContextDefinition
- Defines a class for context definitions.
Namespace
Drupal\Core\Plugin\ContextCode
public function getDefaultValue() {
return $this->defaultValue;
}