interface BundleEntityStorageInterface (View source)

A storage that supports entities with bundle specific classes.

Methods

string|null
getBundleFromClass(string $class_name)

Retrieves the bundle name for a provided class name.

Details

string|null getBundleFromClass(string $class_name)

Retrieves the bundle name for a provided class name.

Parameters

string $class_name

The class name to check.

Return Value

string|null

The bundle name of the class provided or NULL if unable to determine the bundle from the provided class.

Exceptions

AmbiguousBundleClassException