You are here

public function MappingInterface::setContentType in GatherContent 8.5

Same name and namespace in other branches
  1. 8.3 src/Entity/MappingInterface.php \Drupal\gathercontent\Entity\MappingInterface::setContentType()
  2. 8.4 src/Entity/MappingInterface.php \Drupal\gathercontent\Entity\MappingInterface::setContentType()

Setter for content type machine name.

Parameters

string $content_type: Content type machine name.

1 method overrides MappingInterface::setContentType()
Mapping::setContentType in src/Entity/Mapping.php
Setter for content type machine name.

File

src/Entity/MappingInterface.php, line 74

Class

MappingInterface
Provides an interface for defining GatherContent Mapping entities.

Namespace

Drupal\gathercontent\Entity

Code

public function setContentType($content_type);