function ContextDefinitionInterface::getDefaultValue
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::getDefaultValue()
- 10 core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::getDefaultValue()
- 11.x core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php \Drupal\Component\Plugin\Context\ContextDefinitionInterface::getDefaultValue()
Gets the default value for this context definition.
Return value
mixed The default value or NULL if no default value is set.
1 method overrides ContextDefinitionInterface::getDefaultValue()
- ContextDefinition::getDefaultValue in core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php - Gets the default value for this context definition.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Context/ ContextDefinitionInterface.php, line 115
Class
- ContextDefinitionInterface
- Interface used to define definition objects found in ContextInterface.
Namespace
Drupal\Component\Plugin\ContextCode
public function getDefaultValue();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.