Implements \Drupal\Core\Entity\Query\ConditionInterface::exists().
Overrides ConditionInterface::exists
File
- drupal/core/lib/Drupal/Core/Config/Entity/Query/Condition.php, line 81
- Contains \Drupal\Core\Config\Entity\Query\Condition.
Class
- Condition
- Defines the condition class for the config entity query.
Namespace
Drupal\Core\Config\Entity\Query
Code
public function exists($field, $langcode = NULL) {
return $this
->condition($field, NULL, 'IS NOT NULL', $langcode);
}