You are here

protected function EntityExtraField::getQuery in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::getQuery()

Get entity storage query.

Return value

\Drupal\Core\Entity\Query\QueryInterface The entity storage query.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/Entity/EntityExtraField.php, line 596

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

protected function getQuery() : QueryInterface {
  return $this
    ->getStorage()
    ->getQuery();
}