function AndExpression::isEmpty
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\RulesExpressionCode
public function isEmpty() {
return empty($this->conditions);
}