You are here

public function WebformContentCreatorInterface::setContentType in Webform Content Creator 3.x

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

Sets the content type entity.

Parameters

string $content_type: 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 76

Class

WebformContentCreatorInterface
Provides an interface defining an Webform content creator entity.

Namespace

Drupal\webform_content_creator

Code

public function setContentType($content_type);