function RulesConditionInterface::negate

Same name and namespace in other branches
  1. 7.x-2.x includes/rules.core.inc \RulesConditionInterface::negate()

Negates the result after evaluating this condition.

Parameters

bool $negate: TRUE to indicate that the condition should be negated, FALSE otherwise.

Return value

$this

1 method overrides RulesConditionInterface::negate()
RulesConditionBase::negate in src/Core/RulesConditionBase.php
Negates the result after evaluating this condition.

File

src/Core/RulesConditionInterface.php, line 22

Class

RulesConditionInterface
Extends the core ConditionInterface to provide a negate() method.

Namespace

Drupal\rules\Core

Code

public function negate($negate = TRUE);