public function RealisticDummyContentAttribute::getBundle in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getBundle()
- 3.x api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getBundle()
Gets the bundle of the associated entity.
Return value
string The bundle name.
1 call to RealisticDummyContentAttribute::getBundle()
- RealisticDummyContentAttribute::getCandidateFiles in api/
src/ includes/ RealisticDummyContentAttribute.php - Get all candidate files for a given field for this entity.
File
- api/
src/ includes/ RealisticDummyContentAttribute.php, line 88
Class
- RealisticDummyContentAttribute
- Represents either a field or a property for an entity.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public function getBundle() {
return $this
->getEntity()
->getBundle();
}