You are here

public function ConditionBase::isNegated in Access Filter 8

Determines whether condition result will be negated.

Return value

bool Whether the condition result will be negated.

Overrides ConditionInterface::isNegated

File

src/Plugin/AccessFilter/Condition/ConditionBase.php, line 29

Class

ConditionBase
Base class for all condition plugins.

Namespace

Drupal\access_filter\Plugin\AccessFilter\Condition

Code

public function isNegated() {
  return !empty($this->configuration['negate']);
}