summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel Catchpole2014-02-12 17:07:32 (GMT)
committerNathaniel Catchpole2014-02-12 17:08:31 (GMT)
commit07b878de3b99d6ff0ca75bd1a82815445f140165 (patch)
treebf3e0fbb6e579bec2f1715a059e2a19a0d081a3b
parentd861851e3d470b9edc895e516c29d8d1e44f9948 (diff)
Issue #2191721 by divesh.kumar: Drupal\Core\Entity\Query\Sql\Condition class has no docblock.
-rw-r--r--core/lib/Drupal/Core/Entity/Query/Sql/Condition.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php b/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php
index 19f6a3d..1067db3 100644
--- a/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php
+++ b/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php
@@ -12,6 +12,9 @@ use Drupal\Core\Entity\Query\ConditionInterface;
use Drupal\Core\Database\Query\SelectInterface;
use Drupal\Core\Database\Query\Condition as SqlCondition;
+/**
+ * Implements entity query conditions for SQL databases.
+ */
class Condition extends ConditionBase {
/**
@@ -22,7 +25,7 @@ class Condition extends ConditionBase {
protected $query;
/**
- * Implements Drupal\Core\Entity\Query\ConditionInterface::compile().
+ * {@inheritdoc}
*/
public function compile($conditionContainer) {
// If this is not the top level condition group then the sql query is
@@ -50,14 +53,14 @@ class Condition extends ConditionBase {
}
/**
- * Implements Drupal\Core\Entity\Query\ConditionInterface::exists().
+ * {@inheritdoc}
*/
public function exists($field, $langcode = NULL) {
return $this->condition($field, NULL, 'IS NOT NULL', $langcode);
}
/**
- * Implements Drupal\Core\Entity\Query\ConditionInterface::notExists().
+ * {@inheritdoc}
*/
public function notExists($field, $langcode = NULL) {
return $this->condition($field, NULL, 'IS NULL', $langcode);