AnnotationProcessingTest |
class |
tests/src/Unit/Integration/Engine/AnnotationProcessingTest.php |
Tests processing of the ContextDefinition annotation. |
AnnotationProcessingTest.php |
file |
tests/src/Unit/Integration/Engine/AnnotationProcessingTest.php |
|
AnnotationProcessingTest::provideRulesPlugins |
function |
tests/src/Unit/Integration/Engine/AnnotationProcessingTest.php |
Provider for plugins to test. |
AnnotationProcessingTest::setUp |
function |
tests/src/Unit/Integration/Engine/AnnotationProcessingTest.php |
|
AnnotationProcessingTest::testCheckConfiguration |
function |
tests/src/Unit/Integration/Engine/AnnotationProcessingTest.php |
Tests if our ContextDefinition annotations are correctly processed. |
AnnotationProcessingTest::testTranslationSquelching |
function |
tests/src/Unit/Integration/Engine/AnnotationProcessingTest.php |
Make sure @ Translation annotations do not leak out into the wild. |
ConditionExpressionTest::$processorManager |
property |
tests/src/Unit/ConditionExpressionTest.php |
The mocked data processor manager. |
ConditionExpressionTest::testDataProcessor |
function |
tests/src/Unit/ConditionExpressionTest.php |
Tests that context values get data processed with processor mappings. |
ContextConfig::process |
function |
src/Context/ContextConfig.php |
Configures a data processor for the given context. |
ContextHandlerTrait::$processorManager |
property |
src/Context/ContextHandlerTrait.php |
The data processor plugin manager used to process context variables. |
ContextHandlerTrait::processData |
function |
src/Context/ContextHandlerTrait.php |
Process data context on the plugin, usually before it gets executed. |
ContextHandlerTrait::processValue |
function |
src/Context/ContextHandlerTrait.php |
Processes a single value. |
DataProcessorInterface |
interface |
src/Context/DataProcessorInterface.php |
Interface for Rules data processor plugins. |
DataProcessorInterface.php |
file |
src/Context/DataProcessorInterface.php |
|
DataProcessorInterface::process |
function |
src/Context/DataProcessorInterface.php |
Process the given value. |
DataProcessorManager |
class |
src/Context/DataProcessorManager.php |
Plugin manager for Rules data processors. |
DataProcessorManager.php |
file |
src/Context/DataProcessorManager.php |
|
DataProcessorManager::__construct |
function |
src/Context/DataProcessorManager.php |
Creates the discovery object. |
DataProcessorManagerTrait |
trait |
src/Context/DataProcessorManagerTrait.php |
Trait for easily using the data processor service. |
DataProcessorManagerTrait.php |
file |
src/Context/DataProcessorManagerTrait.php |
|
DataProcessorManagerTrait::$dataProcessorManager |
property |
src/Context/DataProcessorManagerTrait.php |
The data processor manager. |
DataProcessorManagerTrait::getDataProcessorManager |
function |
src/Context/DataProcessorManagerTrait.php |
Gets the data processor manager. |
DataProcessorManagerTrait::setDataProcessorManager |
function |
src/Context/DataProcessorManagerTrait.php |
Sets the data processor manager. |
DataProcessorTest |
class |
tests/src/Kernel/DataProcessorTest.php |
Test the data processor plugins during Rules evaluation. |
DataProcessorTest.php |
file |
tests/src/Kernel/DataProcessorTest.php |
|
DataProcessorTest::testNumericOffset |
function |
tests/src/Kernel/DataProcessorTest.php |
Tests that the numeric offset plugin works. |
NumericOffset::process |
function |
src/Plugin/RulesDataProcessor/NumericOffset.php |
Process the given value. |
plugin.manager.rules_data_processor |
service |
./rules.services.yml |
Drupal\rules\Context\DataProcessorManager |
RulesDataProcessor |
class |
src/Annotation/RulesDataProcessor.php |
Defines the RulesDataProcessor annotation class. |
RulesDataProcessor.php |
file |
src/Annotation/RulesDataProcessor.php |
|
RulesDataProcessor::$id |
property |
src/Annotation/RulesDataProcessor.php |
The plugin ID. |
RulesDataProcessor::$label |
property |
src/Annotation/RulesDataProcessor.php |
The human-readable name of the rules plugin. |
RulesDataProcessor::$types |
property |
src/Annotation/RulesDataProcessor.php |
The data types this data processor can be applied to. |
RulesEventManager::processDefinition |
function |
src/Core/RulesEventManager.php |
Performs extra processing on plugin definitions. |
RulesIntegrationTestBase::$rulesDataProcessorManager |
property |
tests/src/Unit/Integration/RulesIntegrationTestBase.php |
|
RulesUiManager::processDefinition |
function |
src/Ui/RulesUiManager.php |
Performs extra processing on plugin definitions. |
template_preprocess_rules_debug_log_element |
function |
./rules.theme.inc |
Prepares variables for rules debug log element templates. |
TokenProcessor |
class |
src/Plugin/RulesDataProcessor/TokenProcessor.php |
A data processor for placeholder token replacements. |
TokenProcessor.php |
file |
src/Plugin/RulesDataProcessor/TokenProcessor.php |
|
TokenProcessor::$placeholderResolver |
property |
src/Plugin/RulesDataProcessor/TokenProcessor.php |
The placeholder resolver. |
TokenProcessor::create |
function |
src/Plugin/RulesDataProcessor/TokenProcessor.php |
Creates an instance of the plugin. |
TokenProcessor::process |
function |
src/Plugin/RulesDataProcessor/TokenProcessor.php |
Process the given value. |
TokenProcessor::__construct |
function |
src/Plugin/RulesDataProcessor/TokenProcessor.php |
Constructs a TokenProcessor object. |