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