ContextDefinition::$constraints |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
An array of constraints. |
ContextDefinition::$dataType |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
The data type of the data. |
ContextDefinition::$defaultValue |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
The default value. |
ContextDefinition::$definition |
property |
core/lib/Drupal/Core/Annotation/ContextDefinition.php |
The ContextDefinitionInterface object. |
ContextDefinition::$description |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
The human-readable description. |
ContextDefinition::$entityContextDefinition |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
An EntityContextDefinition instance, for backwards compatibility. |
ContextDefinition::$isMultiple |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Whether the data is multi-valued, i.e. a list of data items. |
ContextDefinition::$isRequired |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Determines whether a data value is required. |
ContextDefinition::$label |
property |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
The human-readable label. |
ContextDefinition::addConstraint |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Adds a validation constraint. |
ContextDefinition::create |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Creates a new context definition. |
ContextDefinition::dataTypeMatches |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Checks if this definition's data type matches that of the given context. |
ContextDefinition::get |
function |
core/lib/Drupal/Core/Annotation/ContextDefinition.php |
Returns the value of an annotation. |
ContextDefinition::getConstraint |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Gets a validation constraint. |
ContextDefinition::getConstraintObjects |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Extracts an array of constraints for a context definition object. |
ContextDefinition::getConstraints |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Gets an array of validation constraints. |
ContextDefinition::getDataDefinition |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Returns the data definition of the defined context. |
ContextDefinition::getDataType |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Gets the data type needed by the context. |
ContextDefinition::getDefaultValue |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Gets the default value for this context definition. |
ContextDefinition::getDefinitionClass |
function |
core/lib/Drupal/Core/Annotation/ContextDefinition.php |
Determines the context definition class to use. |
ContextDefinition::getDescription |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Gets a human readable description. |
ContextDefinition::getLabel |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Gets a human readable label. |
ContextDefinition::getSampleValues |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Returns typed data objects representing this context definition. |
ContextDefinition::initializeEntityContextDefinition |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Initializes $this->entityContextDefinition for backwards compatibility. |
ContextDefinition::isMultiple |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Determines whether the data is multi-valued, i.e. a list of data items. |
ContextDefinition::isRequired |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Determines whether the context is required. |
ContextDefinition::isSatisfiedBy |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Determines if this definition is satisfied by a context object. |
ContextDefinition::setConstraints |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets the array of validation constraints. |
ContextDefinition::setDataType |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets the data type needed by the context. |
ContextDefinition::setDefaultValue |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets the default data value. |
ContextDefinition::setDescription |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets the human readable description. |
ContextDefinition::setLabel |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets the human readable label. |
ContextDefinition::setMultiple |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets whether the data is multi-valued. |
ContextDefinition::setRequired |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Sets whether the data is required. |
ContextDefinition::__construct |
function |
core/lib/Drupal/Core/Annotation/ContextDefinition.php |
Constructs a new context definition object. |
ContextDefinition::__construct |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Constructs a new context definition object. |
ContextDefinition::__sleep |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php |
Implements magic __sleep() method. |
ContextDefinitionInterface |
interface |
core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php |
Interface to define definition objects in ContextInterface via TypedData. |
ContextDefinitionInterface |
interface |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Interface used to define definition objects found in ContextInterface. |
ContextDefinitionInterface.php |
file |
core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php |
|
ContextDefinitionInterface.php |
file |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
|
ContextDefinitionInterface::addConstraint |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Adds a validation constraint. |
ContextDefinitionInterface::getConstraint |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Gets a validation constraint. |
ContextDefinitionInterface::getConstraints |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Gets an array of validation constraints. |
ContextDefinitionInterface::getDataDefinition |
function |
core/lib/Drupal/Core/Plugin/Context/ContextDefinitionInterface.php |
Returns the data definition of the defined context. |
ContextDefinitionInterface::getDataType |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Gets the data type needed by the context. |
ContextDefinitionInterface::getDefaultValue |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Gets the default value for this context definition. |
ContextDefinitionInterface::getDescription |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Gets a human readable description. |
ContextDefinitionInterface::getLabel |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Gets a human readable label. |
ContextDefinitionInterface::isMultiple |
function |
core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php |
Determines whether the data is multi-valued, i.e. a list of data items. |