interface RulesConditionInterface in Rules 8.3
Extends the core ConditionInterface to provide a negate() method.
Hierarchy
- interface \Drupal\Core\Condition\ConditionInterface; interface \Drupal\rules\Context\ContextAwarePluginInterface; interface \Drupal\rules\Context\ContextProviderInterface; interface \Drupal\rules\Core\ConfigurationAccessControlInterface
- interface \Drupal\rules\Core\RulesConditionInterface
Expanded class hierarchy of RulesConditionInterface
All classes that implement RulesConditionInterface
1 file declares its use of RulesConditionInterface
- ConditionExpressionTest.php in tests/
src/ Unit/ ConditionExpressionTest.php
File
- src/
Core/ RulesConditionInterface.php, line 12
Namespace
Drupal\rules\CoreView source
interface RulesConditionInterface extends ConditionInterface, ContextAwarePluginInterface, ContextProviderInterface, ConfigurationAccessControlInterface {
/**
* Negates the result after evaluating this condition.
*
* @param bool $negate
* TRUE to indicate that the condition should be negated, FALSE otherwise.
*
* @return $this
*/
public function negate($negate = TRUE);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
ConditionInterface:: |
public | function | Evaluates the condition and returns TRUE or FALSE accordingly. | 10 |
ConditionInterface:: |
public | function | Determines whether condition result will be negated. | 1 |
ConditionInterface:: |
public | function | Sets the executable manager class. | 1 |
ConditionInterface:: |
public | function | Provides a human readable summary of the condition's configuration. | 10 |
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
ConfigurationAccessControlInterface:: |
public | function | Check configuration access. | |
ContextAwarePluginInterface:: |
public | function | Asserts additional metadata for the selected data. | 2 |
ContextAwarePluginInterface:: |
public | function | Gets a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function |
Gets a specific context definition of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function |
Gets the context definitions of the plugin. Overrides ContextAwarePluginInterface:: |
|
ContextAwarePluginInterface:: |
public | function | Gets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Gets the values for all defined contexts. | 1 |
ContextAwarePluginInterface:: |
public | function | Refines used and provided context definitions based upon context values. | 2 |
ContextAwarePluginInterface:: |
public | function | Set a context on this plugin. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets a mapping of the expected assignment names to their context names. | 1 |
ContextAwarePluginInterface:: |
public | function | Sets the value for a defined context. | 1 |
ContextAwarePluginInterface:: |
public | function | Validates the set values for the defined contexts. | 1 |
ContextProviderInterface:: |
public | function | Gets a defined provided context. | |
ContextProviderInterface:: |
public | function | Gets a specific provided context definition of the plugin. | |
ContextProviderInterface:: |
public | function | Gets the provided context definitions of the plugin. | |
ContextProviderInterface:: |
public | function | Sets the value for a provided context. | |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
ExecutableInterface:: |
public | function | Executes the plugin. | 20 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
RulesConditionInterface:: |
public | function | Negates the result after evaluating this condition. | 1 |