You are here

public function WebformContentCreatorInterface::setContentType in Webform Content Creator 8

Same name and namespace in other branches
  1. 3.x src/WebformContentCreatorInterface.php \Drupal\webform_content_creator\WebformContentCreatorInterface::setContentType()

Sets the content type entity.

Parameters

string $contentType: Content type entity.

Return value

$this The Webform Content Creator entity.

1 method overrides WebformContentCreatorInterface::setContentType()
WebformContentCreatorEntity::setContentType in src/Entity/WebformContentCreatorEntity.php
Sets the content type entity.

File

src/WebformContentCreatorInterface.php, line 74

Class

WebformContentCreatorInterface
Provides an interface defining an Webform content creator entity.

Namespace

Drupal\webform_content_creator

Code

public function setContentType($contentType);