public function ConditionPluginBase::isNegated

Implements \Drupal\condition\Plugin\ConditionInterface::isNegated().

Overrides ConditionInterface::isNegated

File

drupal/core/lib/Drupal/Core/Condition/ConditionPluginBase.php, line 28
Contains \Drupal\Core\Condition\ConditionPluginBase.

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

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