You are here

public function Framework::getBundleName in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getBundleName()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getBundleName()

Gets the bundle name of an entity.

Overrides FrameworkInterface::getBundleName

1 method overrides Framework::getBundleName()
Drupal8::getBundleName in api/src/Framework/Drupal8.php
Gets the bundle name of an entity.

File

api/src/Framework/Framework.php, line 173

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function getBundleName($entity) {
  return $this
    ->implementor()
    ->getBundleName($entity);
}