public function Mapping::setContentType in GatherContent 8.4
Same name and namespace in other branches
- 8.5 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setContentType()
- 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setContentType()
Setter for content type machine name.
Parameters
string $content_type: Content type machine name.
Overrides MappingInterface::setContentType
File
- src/
Entity/ Mapping.php, line 170
Class
- Mapping
- Defines the GatherContent Mapping entity.
Namespace
Drupal\gathercontent\EntityCode
public function setContentType($content_type) {
$this->content_type = $content_type;
}