function DeprecatedEntityStorage::getCurrentEntityClass

Gets the current entity class via deprecated means.

File

core/modules/system/tests/modules/entity_test_deprecated_storage/src/Storage/DeprecatedEntityStorage.php, line 28

Class

DeprecatedEntityStorage
Class for testing deprecation warnings from EntityStorageBase.

Namespace

Drupal\entity_test_deprecated_storage\Storage

Code

public function getCurrentEntityClass() : string {
    return $this->entityClass;
}

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