public function MappingInterface::setContentType in GatherContent 8.4
Same name and namespace in other branches
- 8.5 src/Entity/MappingInterface.php \Drupal\gathercontent\Entity\MappingInterface::setContentType()
- 8.3 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 58
Class
- MappingInterface
- Provides an interface for defining GatherContent Mapping entities.
Namespace
Drupal\gathercontent\EntityCode
public function setContentType($content_type);