class InheritedContextDefinition

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php \Drupal\Tests\Core\Plugin\Fixtures\InheritedContextDefinition
  2. 9 core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php \Drupal\Tests\Core\Plugin\Fixtures\InheritedContextDefinition
  3. 8.9.x core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php \Drupal\Tests\Core\Plugin\Fixtures\InheritedContextDefinition

Inherited class used for testing.

Hierarchy

Expanded class hierarchy of InheritedContextDefinition

See also

\Drupal\Tests\Core\Plugin\Context\ContextDefinitionIsSatisfiedTest

1 file declares its use of InheritedContextDefinition
ContextDefinitionIsSatisfiedTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php

File

core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php, line 14

Namespace

Drupal\Tests\Core\Plugin\Fixtures
View source
class InheritedContextDefinition extends ContextDefinition {

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ContextDefinition::$constraints protected property An array of constraints.
ContextDefinition::$constraints protected property An array of constraints.
ContextDefinition::$dataType protected property The data type of the data.
ContextDefinition::$dataType protected property The data type of the data.
ContextDefinition::$defaultValue protected property The default value.
ContextDefinition::$defaultValue protected property The default value.
ContextDefinition::$description protected property The human-readable description.
ContextDefinition::$description protected property The human-readable description.
ContextDefinition::$isMultiple protected property Whether the data is multi-valued, i.e. a list of data items.
ContextDefinition::$isMultiple protected property Whether the data is multi-valued, i.e. a list of data items.
ContextDefinition::$isRequired protected property Determines whether a data value is required.
ContextDefinition::$isRequired protected property Determines whether a data value is required.
ContextDefinition::$label protected property The human-readable label.
ContextDefinition::$label protected property The human-readable label.
ContextDefinition::addConstraint public function
ContextDefinition::create public static function Creates a new context definition.
ContextDefinition::dataTypeMatches protected function Checks if this definition's data type matches that of the given context.
ContextDefinition::getConstraint public function
ContextDefinition::getConstraintObjects protected function Extracts an array of constraints for a context definition object.
ContextDefinition::getConstraints public function
ContextDefinition::getDataDefinition public function
ContextDefinition::getDataType public function
ContextDefinition::getDefaultValue public function
ContextDefinition::getDescription public function
ContextDefinition::getLabel public function
ContextDefinition::getSampleValues protected function Returns typed data objects representing this context definition.
ContextDefinition::isMultiple public function
ContextDefinition::isRequired public function
ContextDefinition::isSatisfiedBy public function
ContextDefinition::setConstraints public function
ContextDefinition::setDataType public function
ContextDefinition::setDefaultValue public function
ContextDefinition::setDescription public function
ContextDefinition::setLabel public function
ContextDefinition::setMultiple public function
ContextDefinition::setRequired public function
ContextDefinition::__construct public function Constructs a new context definition object.
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function 2
DependencySerializationTrait::__wakeup public function #[\ReturnTypeWillChange] 2
TypedDataTrait::$typedDataManager protected property The typed data manager used for creating the data types.
TypedDataTrait::$typedDataManager protected property The typed data manager used for creating the data types.
TypedDataTrait::getTypedDataManager public function Gets the typed data manager. 2
TypedDataTrait::setTypedDataManager public function Sets the typed data manager. 1

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.