You are here

function Attribute::GetBundle in Realistic Dummy Content 8

Gets the bundle of the associated entity.

Return value

The bundle name.

1 call to Attribute::GetBundle()
Attribute::GetCandidateFiles in api/src/attributes/Attribute.php
Get all candidate files for a given field for this entity.

File

api/src/attributes/Attribute.php, line 92
Define autoload class.

Class

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

Namespace

Drupal\realistic_dummy_content_api\attributes

Code

function GetBundle() {
  return $this
    ->GetEntity()
    ->GetBundle();
}