Search for rule
| Title | Object type | File name | Summary |
|---|---|---|---|
| ReactionRuleConfig::calculateDependencies | function | src/ |
Calculates dependencies and stores them in the dependency property. |
| ReactionRuleConfig::createDuplicate | function | src/ |
Creates a duplicate of the entity. |
| ReactionRuleConfig::getComponent | function | src/ |
Gets the Rules component that is invoked when the events are dispatched. The returned component has the definitions of the available event context set. |
| ReactionRuleConfig::getDescription | function | src/ |
Returns the description. |
| ReactionRuleConfig::getEventNames | function | src/ |
Gets machine names of all events the rule is reacting on. |
| ReactionRuleConfig::getEvents | function | src/ |
Gets configuration of all events the rule is reacting on. |
| ReactionRuleConfig::getExpression | function | src/ |
Gets a Rules expression instance for this Reaction rule. |
| ReactionRuleConfig::getExpressionManager | function | src/ |
Returns the Rules expression manager. |
| ReactionRuleConfig::getTags | function | src/ |
Returns the tags associated with this config. |
| ReactionRuleConfig::hasEvent | function | src/ |
Returns if the rule is reacting on the given event. |
| ReactionRuleConfig::hasTags | function | src/ |
Checks if there are tags associated with this config. |
| ReactionRuleConfig::label | function | src/ |
Overrides \Drupal\Core\Entity\Entity::label(). |
| ReactionRuleConfig::removeEvent | function | src/ |
Removes an event from the rule configuration. |
| ReactionRuleConfig::setExpression | function | src/ |
Sets a Rules expression instance for this Reaction rule. |
| ReactionRuleConfig::updateFromComponent | function | src/ |
Updates the configuration based upon the given component. |
| ReactionRuleConfig::__clone | function | src/ |
Magic clone method. |
| ReactionRuleConfigTest | class | tests/ |
@coversDefaultClass \Drupal\rules\Entity\ReactionRuleConfig[[api-linebreak]] @group Rules |
| ReactionRuleConfigTest.php | file | tests/ |
|
| ReactionRuleConfigTest::addEventDataProvider | function | tests/ |
Data provider for ::testAddEvent(). |
| ReactionRuleConfigTest::createRule | function | tests/ |
Creates a rule. |
| ReactionRuleConfigTest::testAddEvent | function | tests/ |
@covers ::addEvent[[api-linebreak]] @covers ::getEvents[[api-linebreak]] |
| ReactionRuleConfigTest::testGetEventNames | function | tests/ |
@covers ::getEventNames[[api-linebreak]] |
| ReactionRuleConfigTest::testGetEvents | function | tests/ |
@covers ::getEvents[[api-linebreak]] |
| ReactionRuleConfigTest::testHasEvent | function | tests/ |
@covers ::hasEvent[[api-linebreak]] |
| ReactionRuleConfigTest::testRemoveEvent | function | tests/ |
@covers ::removeEvent[[api-linebreak]] @covers ::getEvents[[api-linebreak]] |
| ReactionRuleConfigTest::testRemoveEventWithKeyedIndex | function | tests/ |
@covers ::removeEvent[[api-linebreak]] @covers ::getEvents[[api-linebreak]] |
| ReactionRuleEditForm | class | src/ |
Provides a form to edit a reaction rule. |
| ReactionRuleEditForm.php | file | src/ |
|
| ReactionRuleEditForm::$eventManager | property | src/ |
The Rules event plugin manager. |
| ReactionRuleEditForm::$rulesUiHandler | property | src/ |
The RulesUI handler of the currently active UI. |
| ReactionRuleEditForm::actions | function | src/ |
Returns an array of supported actions for the current entity form. |
| ReactionRuleEditForm::buildForm | function | src/ |
Form constructor. |
| ReactionRuleEditForm::cancel | function | src/ |
Form submission handler for the 'cancel' action. |
| ReactionRuleEditForm::create | function | src/ |
Instantiates a new instance of this class. |
| ReactionRuleEditForm::form | function | src/ |
Gets the actual form array to be built. |
| ReactionRuleEditForm::getTitle | function | src/ |
Title callback: also display the rule label. |
| ReactionRuleEditForm::prepareEntity | function | src/ |
Prepares the entity object before the form is built first. |
| ReactionRuleEditForm::save | function | src/ |
Form submission handler for the 'save' action. |
| ReactionRuleEditForm::validateForm | function | src/ |
Form validation handler. |
| ReactionRuleEditForm::__construct | function | src/ |
Constructs a new object of this class. |
| ReactionRuleStorage | class | src/ |
Storage handler for Reaction Rule configuration entities. |
| ReactionRuleStorage.php | file | src/ |
|
| ReactionRuleStorage::$drupalKernel | property | src/ |
The Drupal kernel. |
| ReactionRuleStorage::$eventManager | property | src/ |
The event manager. |
| ReactionRuleStorage::$stateService | property | src/ |
The state service. |
| ReactionRuleStorage::createInstance | function | src/ |
Instantiates a new instance of this entity handler. |
| ReactionRuleStorage::delete | function | src/ |
Deletes permanently saved entities. |
| ReactionRuleStorage::getRegisteredEvents | function | src/ |
Returns a list of event names that are used by active reaction rules. |
| ReactionRuleStorage::save | function | src/ |
Implements Drupal\Core\Entity\EntityStorageInterface::save(). |
| ReactionRuleStorage::__construct | function | src/ |
Constructs a ReactionRuleStorage object. |
Pagination
- Previous page
- Page 2
- Next page