public function WebformContentCreatorEntity::getContentType in Webform Content Creator 3.x
Same name and namespace in other branches
- 8 src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getContentType()
Returns the entity content type id.
Return value
string The entity content type.
Overrides WebformContentCreatorInterface::getContentType
4 calls to WebformContentCreatorEntity::getContentType()
- WebformContentCreatorEntity::createNode in src/
Entity/ WebformContentCreatorEntity.php - Create node from webform submission.
- WebformContentCreatorEntity::equalsContentType in src/
Entity/ WebformContentCreatorEntity.php - Check if the content type id is equal to the configured content type.
- WebformContentCreatorEntity::existsContentType in src/
Entity/ WebformContentCreatorEntity.php - Check if the content type entity exists.
- WebformContentCreatorEntity::updateNode in src/
Entity/ WebformContentCreatorEntity.php - Update node from webform submission.
File
- src/
Entity/ WebformContentCreatorEntity.php, line 151
Class
- WebformContentCreatorEntity
- Defines the Webform Content creator entity.
Namespace
Drupal\webform_content_creator\EntityCode
public function getContentType() {
return $this
->get('content_type');
}