QueryConditionTrait::orConditionGroup

public QueryConditionTrait::orConditionGroup()

Creates a new group of conditions ORed together.

Return value

\Drupal\Core\Database\Query\ConditionInterface

Overrides ConditionInterface::orConditionGroup

File

core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 116

Class

QueryConditionTrait
Provides an implementation of ConditionInterface.

Namespace

Drupal\Core\Database\Query

Code

public function orConditionGroup() {
  return $this->conditionGroupFactory('OR');
}
doc_Drupal
2016-10-29 09:35:48
Comments
Leave a Comment

Please login to continue.