You are here

public function ContextDefinition::getDefaultValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 191
Contains \Drupal\Core\Plugin\Context\ContextDefinition.

Class

ContextDefinition
Defines a class for context definitions.

Namespace

Drupal\Core\Plugin\Context

Code

public function getDefaultValue() {
  return $this->defaultValue;
}