interface RulesConditionInterface
Same name in other branches
- 7.x-2.x includes/rules.core.inc \RulesConditionInterface
Extends the core ConditionInterface to provide a negate() method.
Hierarchy
- interface \Drupal\Core\Condition\ConditionInterface extends \Drupal\Core\Executable\ExecutableInterface \Drupal\Core\Plugin\PluginFormInterface \Drupal\Component\Plugin\ConfigurableInterface \Drupal\Component\Plugin\DependentPluginInterface \Drupal\Component\Plugin\PluginInspectionInterface \Drupal\Core\Cache\CacheableDependencyInterface; interface \Drupal\rules\Context\ContextAwarePluginInterface extends \Drupal\Core\Plugin\ContextAwarePluginInterface; interface \Drupal\rules\Context\ContextProviderInterface; interface \Drupal\rules\Core\ConfigurationAccessControlInterface
- interface \Drupal\rules\Core\RulesConditionInterface extends \Drupal\Core\Condition\ConditionInterface \Drupal\rules\Context\ContextAwarePluginInterface \Drupal\rules\Context\ContextProviderInterface \Drupal\rules\Core\ConfigurationAccessControlInterface
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
Title Sort descending | Modifiers | Object type | Summary | Overriden Title | Overrides |
---|---|---|---|---|---|
CacheableDependencyInterface::getCacheContexts | public | function | The cache contexts associated with this object. | 34 | |
CacheableDependencyInterface::getCacheMaxAge | public | function | The maximum age for which this object may be cached. | 34 | |
CacheableDependencyInterface::getCacheTags | public | function | The cache tags associated with this object. | 27 | |
ConditionInterface::evaluate | public | function | Evaluates the condition and returns TRUE or FALSE accordingly. | 11 | |
ConditionInterface::isNegated | public | function | Determines whether condition result will be negated. | 1 | |
ConditionInterface::setExecutableManager | public | function | Sets the executable manager class. | 1 | |
ConditionInterface::summary | public | function | Provides a human readable summary of the condition's configuration. | 11 | |
ConfigurableInterface::defaultConfiguration | public | function | Gets default configuration for this plugin. | 14 | |
ConfigurableInterface::getConfiguration | public | function | Gets this plugin's configuration. | 15 | |
ConfigurableInterface::setConfiguration | public | function | Sets the configuration for this plugin instance. | 15 | |
ConfigurationAccessControlInterface::checkConfigurationAccess | public | function | Check configuration access. | ||
ContextAwarePluginInterface::assertMetadata | public | function | Asserts additional metadata for the selected data. | 2 | |
ContextAwarePluginInterface::getContext | public | function | Gets a defined context. | 1 | |
ContextAwarePluginInterface::getContextDefinition | public | function | Gets a specific context definition of the plugin. | Overrides ContextAwarePluginInterface::getContextDefinition | |
ContextAwarePluginInterface::getContextDefinitions | public | function | Gets the context definitions of the plugin. | Overrides ContextAwarePluginInterface::getContextDefinitions | |
ContextAwarePluginInterface::getContextMapping | public | function | Gets a mapping of the expected assignment names to their context names. | ||
ContextAwarePluginInterface::getContexts | public | function | Gets the defined contexts. | 1 | |
ContextAwarePluginInterface::getContextValue | public | function | Gets the value for a defined context. | 1 | |
ContextAwarePluginInterface::getContextValues | public | function | Gets the values for all defined contexts. | 1 | |
ContextAwarePluginInterface::refineContextDefinitions | public | function | Refines used and provided context definitions based upon context values. | 2 | |
ContextAwarePluginInterface::setContext | public | function | Set a context on this plugin. | 2 | |
ContextAwarePluginInterface::setContextMapping | public | function | Sets a mapping of the expected assignment names to their context names. | ||
ContextAwarePluginInterface::setContextValue | public | function | Sets the value for a defined context. | 1 | |
ContextAwarePluginInterface::validateContexts | public | function | Validates the set values for the defined contexts. | 1 | |
ContextProviderInterface::getProvidedContext | public | function | Gets a defined provided context. | ||
ContextProviderInterface::getProvidedContextDefinition | public | function | Gets a specific provided context definition of the plugin. | ||
ContextProviderInterface::getProvidedContextDefinitions | public | function | Gets the provided context definitions of the plugin. | ||
ContextProviderInterface::setProvidedValue | public | function | Sets the value for a provided context. | ||
DependentPluginInterface::calculateDependencies | public | function | Calculates dependencies for the configured plugin. | 20 | |
ExecutableInterface::execute | public | function | Executes the plugin. | 21 | |
PluginFormInterface::buildConfigurationForm | public | function | Form constructor. | 33 | |
PluginFormInterface::submitConfigurationForm | public | function | Form submission handler. | 31 | |
PluginFormInterface::validateConfigurationForm | public | function | Form validation handler. | 17 | |
PluginInspectionInterface::getPluginDefinition | public | function | Gets the definition of the plugin implementation. | 6 | |
PluginInspectionInterface::getPluginId | public | function | Gets the plugin_id of the plugin instance. | 2 | |
RulesConditionInterface::negate | public | function | Negates the result after evaluating this condition. | 1 |