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