ContextHandlerTraitTest::testMissingContext |
function |
tests/src/Unit/ContextHandlerTraitTest.php |
Tests that a missing required context triggers an exception. |
ContextIntegrationTest |
class |
tests/src/Kernel/ContextIntegrationTest.php |
Tests the extended core context API with Rules. |
ContextIntegrationTest.php |
file |
tests/src/Kernel/ContextIntegrationTest.php |
|
ContextIntegrationTest::testAllowNullValue |
function |
tests/src/Kernel/ContextIntegrationTest.php |
Tests that NULL values for contexts are allowed if specified. |
ContextIntegrationTest::testAssignmentRestriction |
function |
tests/src/Kernel/ContextIntegrationTest.php |
Tests the assignment restriction on context definitions. |
ContextIntegrationTest::testRequiredNullMapping |
function |
tests/src/Kernel/ContextIntegrationTest.php |
Tests that a required context mapping that is NULL throws an exception. |
ContextIntegrationTest::testRequiredNullValue |
function |
tests/src/Kernel/ContextIntegrationTest.php |
Tests that a required context value that is NULL throws an exception. |
ContextProviderInterface |
interface |
src/Context/ContextProviderInterface.php |
Interface for plugins that provide context. |
ContextProviderInterface.php |
file |
src/Context/ContextProviderInterface.php |
|
ContextProviderInterface::getProvidedContext |
function |
src/Context/ContextProviderInterface.php |
Gets a defined provided context. |
ContextProviderInterface::getProvidedContextDefinition |
function |
src/Context/ContextProviderInterface.php |
Gets a specific provided context definition of the plugin. |
ContextProviderInterface::getProvidedContextDefinitions |
function |
src/Context/ContextProviderInterface.php |
Gets the provided context definitions of the plugin. |
ContextProviderInterface::setProvidedValue |
function |
src/Context/ContextProviderInterface.php |
Sets the value for a provided context. |
ContextProviderTrait |
trait |
src/Context/ContextProviderTrait.php |
A trait implementing the ContextProviderInterface. |
ContextProviderTrait.php |
file |
src/Context/ContextProviderTrait.php |
|
ContextProviderTrait::$providedContext |
property |
src/Context/ContextProviderTrait.php |
The data objects that are provided by this plugin. |
ContextProviderTrait::getProvidedContext |
function |
src/Context/ContextProviderTrait.php |
|
ContextProviderTrait::getProvidedContextDefinition |
function |
src/Context/ContextProviderTrait.php |
|
ContextProviderTrait::getProvidedContextDefinitions |
function |
src/Context/ContextProviderTrait.php |
|
ContextProviderTrait::setProvidedValue |
function |
src/Context/ContextProviderTrait.php |
|
ContextProviderTrait::upcastEntityId |
function |
src/Context/ContextProviderTrait.php |
Upcasts an entity id to a full entity object. |
ContributedPluginDiscoveryTest |
class |
tests/src/Unit/Integration/ContributedPluginDiscoveryTest.php |
Tests contributed plugin discovery by RulesIntegrationTestBase. |
ContributedPluginDiscoveryTest.php |
file |
tests/src/Unit/Integration/ContributedPluginDiscoveryTest.php |
|
ContributedPluginDiscoveryTest::$condition |
property |
tests/src/Unit/Integration/ContributedPluginDiscoveryTest.php |
The condition to be tested. |
ContributedPluginDiscoveryTest::setUp |
function |
tests/src/Unit/Integration/ContributedPluginDiscoveryTest.php |
|
ContributedPluginDiscoveryTest::testPluginDiscovery |
function |
tests/src/Unit/Integration/ContributedPluginDiscoveryTest.php |
Tests evaluating a condition provided by the 'rules_test' module. |
ConvertTypeOptions |
class |
src/TypedData/Options/ConvertTypeOptions.php |
Options provider for the types of field access to check for. |
ConvertTypeOptions.php |
file |
src/TypedData/Options/ConvertTypeOptions.php |
|
ConvertTypeOptions::getPossibleOptions |
function |
src/TypedData/Options/ConvertTypeOptions.php |
Returns an array of possible values with labels for display. |
CoreIntegrationTest |
class |
tests/src/Kernel/CoreIntegrationTest.php |
Test using Drupal core integration of Rules API. |
CoreIntegrationTest.php |
file |
tests/src/Kernel/CoreIntegrationTest.php |
|
CoreIntegrationTest::$modules |
property |
tests/src/Kernel/CoreIntegrationTest.php |
Modules to enable. |
CoreIntegrationTest::setUp |
function |
tests/src/Kernel/CoreIntegrationTest.php |
|
CoreIntegrationTest::testComponentActionAutoSave |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests that auto saving in a component executed as action works. |
CoreIntegrationTest::testDataSetEntities |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests that the data set action works on entities. |
CoreIntegrationTest::testEntityAutoSave |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests that an entity is automatically saved after being changed. |
CoreIntegrationTest::testEntityPropertyPath |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests that a complex data selector can be applied to entities. |
CoreIntegrationTest::testGlobalContext |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests using global context. |
CoreIntegrationTest::testTokenFormattingReplacements |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests that tokens used to format entity fields get replaced. |
CoreIntegrationTest::testTokenReplacements |
function |
tests/src/Kernel/CoreIntegrationTest.php |
Tests that tokens in action parameters get replaced. |
CurrentDate |
class |
src/Plugin/DataType/CurrentDate.php |
The "current_date" data type. |
CurrentDate.php |
file |
src/Plugin/DataType/CurrentDate.php |
|
CurrentDate::setValue |
function |
src/Plugin/DataType/CurrentDate.php |
Sets the data values for this type. |
CurrentDateContext |
class |
src/ContextProvider/CurrentDateContext.php |
Sets the current node as a context on node routes. |
CurrentDateContext.php |
file |
src/ContextProvider/CurrentDateContext.php |
|
CurrentDateContext::$datetime |
property |
src/ContextProvider/CurrentDateContext.php |
The datetime.time service. |
CurrentDateContext::getAvailableContexts |
function |
src/ContextProvider/CurrentDateContext.php |
Gets all available contexts for the purposes of configuration. |
CurrentDateContext::getRuntimeContexts |
function |
src/ContextProvider/CurrentDateContext.php |
Gets runtime context values for the given context IDs. |
CurrentDateContext::__construct |
function |
src/ContextProvider/CurrentDateContext.php |
Constructs a new CurrentDateContext. |
CurrentDateContextTest |
class |
tests/src/Kernel/ContextProvider/CurrentDateContextTest.php |
@coversDefaultClass \Drupal\user\ContextProvider\CurrentUserContext |