You are here

public function QueryBase::getEntityTypeId in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::getEntityTypeId()

Gets the ID of the entity type for this query.

Return value

string The entity type ID.

Overrides QueryInterface::getEntityTypeId

File

core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 159

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

public function getEntityTypeId() {
  return $this->entityTypeId;
}