You are here

public function Mapping::setMappedEntityType in GatherContent 8.5

Setter for entity type machine name.

Parameters

string $entity_type: Entity type machine name.

Overrides MappingInterface::setMappedEntityType

File

src/Entity/Mapping.php, line 196

Class

Mapping
Defines the GatherContent Mapping entity.

Namespace

Drupal\gathercontent\Entity

Code

public function setMappedEntityType($entity_type) {
  $this->entity_type = $entity_type;
}