rules-8.x-3.x-dev/src/Engine/ConditionExpressionInterface.php

src/Engine/ConditionExpressionInterface.php
<?php

namespace Drupal\rules\Engine;

/**
 * Defines the interface for Rules expressions that can be used as conditions.
 */
interface ConditionExpressionInterface extends ExpressionInterface {

  /**
   * 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;

  /**
   * Determines whether condition result will be negated.
   *
   * @return bool
   *   Whether the condition result will be negated.
   */
  public function isNegated(): bool;

}

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

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