You are here

public function EntityStorageInterface::hasData in Drupal 9

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

Determines if the storage contains any data.

Return value

bool TRUE if the storage contains data, FALSE if not.

1 method overrides EntityStorageInterface::hasData()
EntityStorageBase::hasData in core/lib/Drupal/Core/Entity/EntityStorageBase.php
Determines if the storage contains any data.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 185

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function hasData();