function Attribute::GetEntityType in Realistic Dummy Content 8
Get the entity type of the associated entity.
Return value
The entity type as a string, node or user for example.
1 call to Attribute::GetEntityType()
- 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 112 - Define autoload class.
Class
- Attribute
- Represents either a field or a property for an entity.
Namespace
Drupal\realistic_dummy_content_api\attributesCode
function GetEntityType() {
return $this
->GetEntity()
->GetType();
}