public function Mapping::setContentType in GatherContent 8.5
Same name and namespace in other branches
- 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::setContentType()
- 8.4 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 210
Class
- Mapping
- Defines the GatherContent Mapping entity.
Namespace
Drupal\gathercontent\EntityCode
public function setContentType($content_type) {
$this->content_type = $content_type;
}