You are here

public function AndExpression::isEmpty in Rules 8.3

Returns whether there is a configured condition.

@todo Remove this once we added the API to access configured conditions.

Return value

bool TRUE if there are no conditions, FALSE otherwise.

File

src/Plugin/RulesExpression/AndExpression.php, line 27

Class

AndExpression
Evaluates a group of conditions with a logical AND.

Namespace

Drupal\rules\Plugin\RulesExpression

Code

public function isEmpty() {
  return empty($this->conditions);
}