You are here

public function Mapping::getMappedEntityType in GatherContent 8.5

Getter for entity type machine name.

Return value

string Entity type machine name.

Overrides MappingInterface::getMappedEntityType

File

src/Entity/Mapping.php, line 189

Class

Mapping
Defines the GatherContent Mapping entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getMappedEntityType() {
  return $this
    ->get('entity_type');
}