function EntityStorageInterface::hasData

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::hasData()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::hasData()
  3. 10 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 153

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function hasData();

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