public function ContentEntityNullStorage::hasData

public ContentEntityNullStorage::hasData()

Determines if the storage contains any data.

Return value

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

Overrides ContentEntityStorageBase::hasData

File

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 138

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

public function hasData() {
  return FALSE;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityNullStorage.php/function/ContentEntityNullStorage::hasData/8.1.x