rules-8.x-3.x-dev/src/Core/RulesConditionInterface.php

src/Core/RulesConditionInterface.php
<?php

namespace Drupal\rules\Core;

use Drupal\Core\Condition\ConditionInterface;
use Drupal\rules\Context\ContextAwarePluginInterface;
use Drupal\rules\Context\ContextProviderInterface;

/**
 * Extends the core ConditionInterface to provide a negate() method.
 */
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(bool $negate = TRUE): static;

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc