class Rules

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
23 string references to 'Rules'
filter.format.restricted_html.yml in config/optional/filter.format.restricted_html.yml
config/optional/filter.format.restricted_html.yml
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
rules.services.yml in ./rules.services.yml
rules.services.yml

... 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

Title Sort descending Modifiers Object type Summary
Rules::CONFIG_VERSION constant The current configuration schema version.