function EntityStorageInterface::hasData
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::hasData()
- 8.9.x core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::hasData()
- 11.x 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 188
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\EntityCode
public function hasData();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.