public function WebformContentCreatorEntity::setTitle in Webform Content Creator 3.x
Same name and namespace in other branches
- 8 src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::setTitle()
- 2.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::setTitle()
Sets the entity title.
Parameters
string $title: Node title.
Return value
$this The Webform Content Creator entity.
Overrides WebformContentCreatorInterface::setTitle
File
- src/
Entity/ WebformContentCreatorEntity.php, line 140
Class
- WebformContentCreatorEntity
- Defines the Webform Content creator entity.
Namespace
Drupal\webform_content_creator\EntityCode
public function setTitle($title) {
$this
->set('title', $title);
return $this;
}