Skip to content
Snippets Groups Projects
Commit 07b878de authored by catch's avatar catch
Browse files

Issue #2191721 by divesh.kumar: Drupal\Core\Entity\Query\Sql\Condition class has no docblock.

parent d861851e
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
use Drupal\Core\Database\Query\SelectInterface; use Drupal\Core\Database\Query\SelectInterface;
use Drupal\Core\Database\Query\Condition as SqlCondition; use Drupal\Core\Database\Query\Condition as SqlCondition;
/**
* Implements entity query conditions for SQL databases.
*/
class Condition extends ConditionBase { class Condition extends ConditionBase {
/** /**
...@@ -22,7 +25,7 @@ class Condition extends ConditionBase { ...@@ -22,7 +25,7 @@ class Condition extends ConditionBase {
protected $query; protected $query;
/** /**
* Implements Drupal\Core\Entity\Query\ConditionInterface::compile(). * {@inheritdoc}
*/ */
public function compile($conditionContainer) { public function compile($conditionContainer) {
// If this is not the top level condition group then the sql query is // If this is not the top level condition group then the sql query is
...@@ -50,14 +53,14 @@ public function compile($conditionContainer) { ...@@ -50,14 +53,14 @@ public function compile($conditionContainer) {
} }
/** /**
* Implements Drupal\Core\Entity\Query\ConditionInterface::exists(). * {@inheritdoc}
*/ */
public function exists($field, $langcode = NULL) { public function exists($field, $langcode = NULL) {
return $this->condition($field, NULL, 'IS NOT NULL', $langcode); return $this->condition($field, NULL, 'IS NOT NULL', $langcode);
} }
/** /**
* Implements Drupal\Core\Entity\Query\ConditionInterface::notExists(). * {@inheritdoc}
*/ */
public function notExists($field, $langcode = NULL) { public function notExists($field, $langcode = NULL) {
return $this->condition($field, NULL, 'IS NULL', $langcode); return $this->condition($field, NULL, 'IS NULL', $langcode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment