You are here

public function ContextDefinitionInterface::getDefaultValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 118
Contains \Drupal\Component\Plugin\Context\ContextDefinitionInterface.

Class

ContextDefinitionInterface
Interface for context definitions.

Namespace

Drupal\Component\Plugin\Context

Code

public function getDefaultValue();