public EntityInterface::bundle()
Gets the bundle of the entity.
Return value
string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles.
File
- core/lib/Drupal/Core/Entity/EntityInterface.php, line 88
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\Entity
Code
public function bundle();
Please login to continue.