You are here

public function ConfigEntityStorageDecorator::getQuery in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::getQuery()
  2. 8 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::getQuery()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::getQuery()

Gets an entity query instance.

Parameters

string $conjunction: (optional) The logical operator for the query, either:

  • AND: all of the conditions on the query need to match.
  • OR: at least one of the conditions on the query need to match.

Return value

\Drupal\Core\Entity\Query\QueryInterface The query instance.

Overrides EntityStorageInterface::getQuery

See also

\Drupal\Core\Entity\EntityStorageBase::getQueryServiceName()

File

webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php, line 121

Class

ConfigEntityStorageDecorator
Class ConfigEntityStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function getQuery($conjunction = 'AND') {
  return $this
    ->getOriginalObject()
    ->getQuery($conjunction);
}