Classes, traits, and interfaces - 8.x-3.x - rules

Primary tabs

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
RulesComponentConfig class Drupal\rules\Entity src/Entity/RulesComponentConfig.php Rules component configuration entity to persistently store configuration. 4
RulesComponentEditForm class Drupal\rules\Form src/Form/RulesComponentEditForm.php Provides a form to edit a component.
RulesComponentFormBase abstract class Drupal\rules\Form src/Form/RulesComponentFormBase.php Provides the base form for rules add and edit forms. 4
RulesComponentListBuilder class Drupal\rules\Controller src/Controller/RulesComponentListBuilder.php Defines a class to build a listing of RulesComponentConfig entities.
RulesComponentListBuilderTest class Drupal\Tests\rules\Functional tests/src/Functional/RulesComponentListBuilderTest.php Tests that the Rules Component list builder pages work.
RulesComponentRepository class Drupal\rules\Engine src/Engine/RulesComponentRepository.php Provides an implementation of the component repository service. 2
RulesComponentRepositoryInterface interface Drupal\rules\Engine src/Engine/RulesComponentRepositoryInterface.php Interface for the component repository. 1 1
RulesComponentResolverInterface interface Drupal\rules\Engine src/Engine/RulesComponentResolverInterface.php Interface for rules component resolvers. 2 2
RulesComponentTest class Drupal\Tests\rules\Unit\Integration\Engine tests/src/Unit/Integration/Engine/RulesComponentTest.php Tests the Rules component class.
RulesConditionBase abstract class Drupal\rules\Core src/Core/RulesConditionBase.php Base class for rules conditions. 23 23
RulesConditionContainerTest class Drupal\Tests\rules\Unit tests/src/Unit/RulesConditionContainerTest.php @coversDefaultClass \Drupal\rules\Engine\ConditionExpressionContainer @group Rules
RulesConditionContainerTestStub abstract class Drupal\Tests\rules\Unit tests/src/Unit/RulesConditionContainerTest.php Class used for overriding evaluate() as this does not work with PHPunit.
RulesConditionInterface interface Drupal\rules\Core src/Core/RulesConditionInterface.php Extends the core ConditionInterface to provide a negate() method. 1 1
RulesConfigurableEventHandlerInterface interface Drupal\rules\Core src/Core/RulesConfigurableEventHandlerInterface.php Interface for handling configurable rules events. 1 4
RulesDataProcessor class Drupal\rules\Annotation src/Annotation/RulesDataProcessor.php Defines the RulesDataProcessor annotation class. 1
RulesDebugLog class Drupal\rules\Logger src/Logger/RulesDebugLog.php Logger that stores Rules debug logs with the session service. 1 2
RulesDebugLoggerChannel class Drupal\rules\Logger src/Logger/RulesDebugLoggerChannel.php Logs rules log entries in the available loggers. 2 2
RulesDebugLoggerChannelTest class Drupal\Tests\rules\Unit tests/src/Unit/RulesDebugLoggerChannelTest.php @coversDefaultClass \Drupal\rules\Logger\RulesDebugLoggerChannel @group Rules
RulesDebugLogTest class Drupal\Tests\rules\Functional tests/src/Functional/RulesDebugLogTest.php Tests that the Rules UI pages are reachable.
RulesDefaultEventHandler class Drupal\rules\Core src/Core/RulesDefaultEventHandler.php Default event handler class. 1 1
RulesEmailTest class Drupal\Tests\rules\Kernel tests/src/Kernel/RulesEmailTest.php Tests that emails actually go out with the send email action.
RulesEngineTest class Drupal\Tests\rules\Kernel tests/src/Kernel/RulesEngineTest.php Test using the Rules API to create and evaluate rules.
RulesEntityIntegrationTestBase abstract class Drupal\Tests\rules\Unit\Integration tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php Base class for Rules integration tests with entities. 37 36
RulesEventDispatcherTestCase class d7-tests/rules_test_event_dispatcher_case.test Test event dispatcher functionality.
RulesEventHandlerInterface interface Drupal\rules\Core src/Core/RulesEventHandlerInterface.php Interface for Rules event handlers. 2
RulesEventManager class Drupal\rules\Core src/Core/RulesEventManager.php Plugin manager for Rules events that can be triggered. 10 2
RulesException abstract class Drupal\rules\Exception src/Exception/RulesException.php A common exception for Rules. 6
RulesExpression class Drupal\rules\Annotation src/Annotation/RulesExpression.php Defines the RulesExpression annotation class. 1
RulesIntegrationTestBase abstract class Drupal\Tests\rules\Unit\Integration tests/src/Unit/Integration/RulesIntegrationTestBase.php Base class for Rules integration tests. 30 29
RulesIntegrationTestCase class d7-tests/rules_integration_test_case.test Tests provided module integration.
RulesKernelTestBase abstract class Drupal\Tests\rules\Kernel tests/src/Kernel/RulesKernelTestBase.php Base class for Rules Drupal unit tests. 17 2
RulesLog class Drupal\rules\Logger src/Logger/RulesLog.php Logger that dispatches a SystemLoggerEvent when a logger entry is made. 2
RulesReactionController class Drupal\rules\Controller src/Controller/RulesReactionController.php Controller methods for Reaction rules.
RulesReactionListBuilder class Drupal\rules\Controller src/Controller/RulesReactionListBuilder.php Defines a class to build a listing of ReactionRuleConfig entities.
RulesServiceProvider class Drupal\rules src/RulesServiceProvider.php Swaps out the core condition manager.
RulesSettingsForm class Drupal\rules\Form src/Form/RulesSettingsForm.php Provides rules settings form. 1
RulesTestCase class d7-tests/rules_test_case.test
RulesTestDataCase class d7-tests/rules_test_data_case.test Test rules data wrappers.
RulesTriggerableInterface interface Drupal\rules\Core src/Core/RulesTriggerableInterface.php Interface for objects that are triggerable. 1 1
RulesTriggerTestCase class d7-tests/rules_test_trigger_case.test Test triggering rules.
RulesUiComponentProviderInterface interface Drupal\rules\Ui src/Ui/RulesUiComponentProviderInterface.php Interface for objects providing components for editing. 2 2
RulesUiConfigHandler class Drupal\rules\Ui src/Ui/RulesUiConfigHandler.php The default handler for RulesUi plugins that store to config. 4
RulesUiDefinition class Drupal\rules\Ui src/Ui/RulesUiDefinition.php Class for rules_ui plugin definitions. 2
RulesUiEmbedTest class Drupal\Tests\rules\Kernel tests/src/Kernel/RulesUiEmbedTest.php Tests embedding the Rules UI.
RulesUiEmbedTest class Drupal\Tests\rules\Functional tests/src/Functional/RulesUiEmbedTest.php Functional test for the embedded Rules example implementation.
RulesUiHandlerInterface interface Drupal\rules\Ui src/Ui/RulesUiHandlerInterface.php Interface for Rules UI handlers. 1 8
RulesUiHandlerTrait trait Drupal\rules\Ui src/Ui/RulesUiHandlerTrait.php Trait for getting the rules_ui_handler attribute of the current request. 3
RulesUiManager class Drupal\rules\Ui src/Ui/RulesUiManager.php Plugin manager for Rules Ui instances. 2
RulesUiManagerInterface interface Drupal\rules\Ui src/Ui/RulesUiManagerInterface.php Interface for the 'rules_ui' plugin manager. 1 2
RulesUiRouteEnhancer class Drupal\rules\Routing src/Routing/RulesUiRouteEnhancer.php Enhances routes with the specified RulesUI. 2

Other projects