You are here

public function RealisticDummyContentAttribute::getBundle in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getBundle()
  2. 7.2 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 92

Class

RealisticDummyContentAttribute
Represents either a field or a property for an entity.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function getBundle() {
  return $this
    ->getEntity()
    ->getBundle();
}