Search for all
Title | Object type | File name | Summary |
---|---|---|---|
ContextDefinition::$allowNull | property | src/ |
Whether the context value is allowed to be NULL or not. |
ContextDefinition::$assignmentRestriction | property | src/ |
The assignment restriction of this context. |
ContextDefinition::$definition | property | src/ |
The ContextDefinitionInterface object. |
ContextDefinition::$getter | property | src/ |
Name of getter function for this context variable. |
ContextDefinition::$nameMap | property | src/ |
The mapping of config export keys to internal properties. |
ContextDefinition::create | function | src/ |
The created context definition object. |
ContextDefinition::createFromArray | function | src/ |
Creates a definition object from an exported array of values. |
ContextDefinition::get | function | src/ |
Returns the value of an annotation. |
ContextDefinition::getAssignmentRestriction | function | src/ |
Determines if this context has an assignment restriction. |
ContextDefinition::getGetter | function | src/ |
|
ContextDefinition::hasGetter | function | src/ |
|
ContextDefinition::isAllowedNull | function | src/ |
Determines if the context value is allowed to be NULL. |
ContextDefinition::setAllowNull | function | src/ |
Sets the "allow NULL value" behavior. |
ContextDefinition::setAssignmentRestriction | function | src/ |
Sets the assignment restriction mode for this context. |
ContextDefinition::toArray | function | src/ |
Exports the definition as an array. |
ContextDefinition::__construct | function | src/ |
Constructs a new context definition object. |
ContextDefinition::__construct | function | src/ |
Constructs a new context definition object. |
ContextDefinitionInterface | interface | src/ |
Context definition information required by Rules. |
ContextDefinitionInterface.php | file | src/ |
|
ContextDefinitionInterface::ASSIGNMENT_RESTRICTION_INPUT | constant | src/ |
Constants for the context assignment restriction mode. |
ContextDefinitionInterface::ASSIGNMENT_RESTRICTION_SELECTOR | constant | src/ |
|
ContextDefinitionInterface::getAssignmentRestriction | function | src/ |
Determines if this context has an assignment restriction. |
ContextDefinitionInterface::isAllowedNull | function | src/ |
Determines if the context value is allowed to be NULL. |
ContextDefinitionInterface::setAllowNull | function | src/ |
Sets the "allow NULL value" behavior. |
ContextDefinitionInterface::setAssignmentRestriction | function | src/ |
Sets the assignment restriction mode for this context. |
ContextDefinitionInterface::toArray | function | src/ |
Exports the definition as an array. |
ContextFormTrait | trait | src/ |
Provides form logic for handling contexts when configuring an expression. |
ContextFormTrait.php | file | src/ |
|
ContextFormTrait::buildContextForm | function | src/ |
Provides the form part for a context parameter. |
ContextFormTrait::buildProvidedContextForm | function | src/ |
Provides the form part for a 'provided' context parameter. |
ContextFormTrait::getContextConfigFromFormValues | function | src/ |
Creates a context config object from the submitted form values. |
ContextFormTrait::switchContextMode | function | src/ |
Submit callback: switch a context to data selector or direct input mode. |
ContextHandlerIntegrityTrait | trait | src/ |
Extends the context handler trait with support for checking integrity. |
ContextHandlerIntegrityTrait.php | file | src/ |
|
ContextHandlerIntegrityTrait::checkContextConfigIntegrity | function | src/ |
Performs the integrity check. |
ContextHandlerIntegrityTrait::checkDataTypeCompatible | function | src/ |
Checks that the data type of a mapped variable matches the expectation. |
ContextHandlerTrait | trait | src/ |
Provides methods for handling context based on the plugin configuration. |
ContextHandlerTrait.php | file | src/ |
|
ContextHandlerTrait::$processorManager | property | src/ |
The data processor plugin manager used to process context variables. |
ContextHandlerTrait::addProvidedContext | function | src/ |
Adds provided context values from the plugin to the execution state. |
ContextHandlerTrait::addProvidedContextDefinitions | function | src/ |
Adds the definitions of provided context to the execution metadata state. |
ContextHandlerTrait::assertMetadata | function | src/ |
Asserts additional metadata. |
ContextHandlerTrait::getMappedDefinition | function | src/ |
Gets the definition of the data that is mapped to the given context. |
ContextHandlerTrait::getSelectedData | function | src/ |
Gets definitions of all selected data at configuration time. |
ContextHandlerTrait::prepareContext | function | src/ |
Prepares plugin context based upon the set context configuration. |
ContextHandlerTrait::prepareContextWithMetadata | function | src/ |
Prepares plugin context based upon the set context configuration. |
ContextHandlerTrait::processData | function | src/ |
Process data context on the plugin, usually before it gets executed. |
ContextHandlerTrait::processValue | function | src/ |
Processes a single value. |
ContextHandlerTraitTest | class | tests/ |
@coversDefaultClass \Drupal\rules\Context\ContextHandlerTrait @group Rules |
ContextHandlerTraitTest.php | file | tests/ |
Pagination
- Previous page
- Page 8
- Next page