Search for rule

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