public function Drupal8::getBundleName in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::getBundleName()
- 3.x api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::getBundleName()
File
- api/
src/ Framework/ Drupal8.php, line 228
Class
- Drupal8
- Drupal 8-specific code.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function getBundleName($entity) {
return $entity
->bundle();
}