public function Mapping::getContentType in GatherContent 8.4
Same name and namespace in other branches
- 8.5 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::getContentType()
- 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::getContentType()
Getter for content type machine name.
Return value
string Content type machine name.
Overrides MappingInterface::getContentType
File
- src/
Entity/ Mapping.php, line 163
Class
- Mapping
- Defines the GatherContent Mapping entity.
Namespace
Drupal\gathercontent\EntityCode
public function getContentType() {
return $this
->get('content_type');
}