RulesComponentAction::__construct |
function |
src/Plugin/RulesAction/RulesComponentAction.php |
Constructs a RulesComponentAction object. |
RulesComponentActionDeriver |
class |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
Derives Rules component action plugin definitions from config entities. |
RulesComponentActionDeriver.php |
file |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
|
RulesComponentActionDeriver::$expressionManager |
property |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
The Rules expression manager. |
RulesComponentActionDeriver::$storage |
property |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
The config entity storage that holds Rules components. |
RulesComponentActionDeriver::create |
function |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
Creates a new class instance. |
RulesComponentActionDeriver::getDerivativeDefinitions |
function |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
Gets the definition of all derivatives of a base plugin. |
RulesComponentActionDeriver::__construct |
function |
src/Plugin/RulesAction/RulesComponentActionDeriver.php |
Creates a new RulesComponentActionDeriver object. |
RulesComponentActionTest |
class |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Tests for exposing Rules components as action plugins. |
RulesComponentActionTest.php |
file |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
|
RulesComponentActionTest::prophesizeStorage |
function |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Prepares a mocked entity storage that returns the provided Rules configs. |
RulesComponentActionTest::testActionAvailable |
function |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Tests that a rule can be used as action. |
RulesComponentActionTest::testAutosaveOnlyOnce |
function |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Tests that auto saving is only triggered once with nested components. |
RulesComponentActionTest::testContextDefinitions |
function |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Tests that context definitions are available on the derived action. |
RulesComponentActionTest::testExecute |
function |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Tests that the execution of the action invokes the Rules component. |
RulesComponentActionTest::testExecutionProvidedVariables |
function |
tests/src/Unit/Integration/RulesAction/RulesComponentActionTest.php |
Tests that a rules component in an action can also provide variables. |
RulesComponentAddForm |
class |
src/Form/RulesComponentAddForm.php |
Provides a form to add a component. |
RulesComponentAddForm.php |
file |
src/Form/RulesComponentAddForm.php |
|
RulesComponentAddForm::actions |
function |
src/Form/RulesComponentAddForm.php |
Returns an array of supported actions for the current entity form. |
RulesComponentAddForm::getEntityFromRouteMatch |
function |
src/Form/RulesComponentAddForm.php |
Determines which entity will be used by this form from a RouteMatch object. |
RulesComponentAddForm::save |
function |
src/Form/RulesComponentAddForm.php |
Form submission handler for the 'save' action. |
RulesComponentConfig |
class |
src/Entity/RulesComponentConfig.php |
Rules component configuration entity to persistently store configuration. |
RulesComponentConfig.php |
file |
src/Entity/RulesComponentConfig.php |
|
RulesComponentConfig::$component |
property |
src/Entity/RulesComponentConfig.php |
The component configuration as nested array. |
RulesComponentConfig::$componentObject |
property |
src/Entity/RulesComponentConfig.php |
Stores a reference to the component object. |
RulesComponentConfig::$config_version |
property |
src/Entity/RulesComponentConfig.php |
The config version the Rules component was created for. |
RulesComponentConfig::$description |
property |
src/Entity/RulesComponentConfig.php |
The description of the rule, which is used only in the user interface. |
RulesComponentConfig::$id |
property |
src/Entity/RulesComponentConfig.php |
The unique ID of the Rules component. |
RulesComponentConfig::$label |
property |
src/Entity/RulesComponentConfig.php |
The label of the Rules component. |
RulesComponentConfig::$tags |
property |
src/Entity/RulesComponentConfig.php |
The "tags" of a Rules component. |
RulesComponentConfig::calculateDependencies |
function |
src/Entity/RulesComponentConfig.php |
Calculates dependencies and stores them in the dependency property. |
RulesComponentConfig::createDuplicate |
function |
src/Entity/RulesComponentConfig.php |
Creates a duplicate of the entity. |
RulesComponentConfig::getComponent |
function |
src/Entity/RulesComponentConfig.php |
Gets the Rules component to be edited. |
RulesComponentConfig::getContextDefinitions |
function |
src/Entity/RulesComponentConfig.php |
Gets the definitions of the used context. |
RulesComponentConfig::getDescription |
function |
src/Entity/RulesComponentConfig.php |
Returns the description. |
RulesComponentConfig::getExpression |
function |
src/Entity/RulesComponentConfig.php |
Gets a Rules expression instance for this Rules component. |
RulesComponentConfig::getProvidedContextDefinitions |
function |
src/Entity/RulesComponentConfig.php |
Gets the definitions of the provided context. |
RulesComponentConfig::getTags |
function |
src/Entity/RulesComponentConfig.php |
Returns the tags associated with this config. |
RulesComponentConfig::hasTags |
function |
src/Entity/RulesComponentConfig.php |
Checks if there are tags associated with this config. |
RulesComponentConfig::label |
function |
src/Entity/RulesComponentConfig.php |
Overrides \Drupal\Core\Entity\Entity::label(). |
RulesComponentConfig::setContextDefinitions |
function |
src/Entity/RulesComponentConfig.php |
Sets the definitions of the used context. |
RulesComponentConfig::setExpression |
function |
src/Entity/RulesComponentConfig.php |
Sets a Rules expression instance for this Rules component. |
RulesComponentConfig::setProvidedContextDefinitions |
function |
src/Entity/RulesComponentConfig.php |
Sets the definitions of the provided context. |
RulesComponentConfig::updateFromComponent |
function |
src/Entity/RulesComponentConfig.php |
Updates the configuration based upon the given component. |
RulesComponentConfig::__clone |
function |
src/Entity/RulesComponentConfig.php |
Magic clone method. |
RulesComponentEditForm |
class |
src/Form/RulesComponentEditForm.php |
Provides a form to edit a component. |
RulesComponentEditForm.php |
file |
src/Form/RulesComponentEditForm.php |
|
RulesComponentEditForm::$rulesUiHandler |
property |
src/Form/RulesComponentEditForm.php |
The RulesUI handler of the currently active UI. |
RulesComponentEditForm::actions |
function |
src/Form/RulesComponentEditForm.php |
Returns an array of supported actions for the current entity form. |
RulesComponentEditForm::buildForm |
function |
src/Form/RulesComponentEditForm.php |
Form constructor. |