function ConditionPluginBase::isNegated

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::isNegated()
1 call to ConditionPluginBase::isNegated()
Language::evaluate in core/modules/language/src/Plugin/Condition/Language.php
Evaluates the condition and returns TRUE or FALSE accordingly.

File

core/lib/Drupal/Core/Condition/ConditionPluginBase.php, line 43

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.