You are here

class Rules in Rules 8.3

Class containing shortcuts for procedural code.

This helpers should only be used in situations where dependencies cannot be injected; e.g., in hook implementations or static methods.

Hierarchy

  • class \Drupal\rules\Rules

Expanded class hierarchy of Rules

See also

\Drupal

2 files declare their use of Rules
ReactionRuleConfig.php in src/Entity/ReactionRuleConfig.php
RulesComponentConfig.php in src/Entity/RulesComponentConfig.php
8 string references to 'Rules'
rules.info.yml in ./rules.info.yml
rules.info.yml
rules.links.menu.yml in ./rules.links.menu.yml
rules.links.menu.yml
rules.routing.yml in ./rules.routing.yml
rules.routing.yml
RulesEventDispatcherTestCase::getInfo in d7-tests/rules_test_event_dispatcher_case.test
RulesIntegrationTestCase::getInfo in d7-tests/rules_integration_test_case.test

... See full list

File

src/Rules.php, line 13

Namespace

Drupal\rules
View source
class Rules {

  /**
   * The current configuration schema version.
   */
  const CONFIG_VERSION = 3.0;

}

Members

Namesort descending Modifiers Type Description Overrides
Rules::CONFIG_VERSION constant The current configuration schema version.