function QueryInterface::getEntityTypeId

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::getEntityTypeId()
  2. 8.9.x core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::getEntityTypeId()
  3. 10 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::getEntityTypeId()

Gets the ID of the entity type for this query.

Return value

string The entity type ID.

1 method overrides QueryInterface::getEntityTypeId()
QueryBase::getEntityTypeId in core/lib/Drupal/Core/Entity/Query/QueryBase.php
Gets the ID of the entity type for this query.

File

core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 25

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function getEntityTypeId();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.