public function WebformContentCreatorEntity::setBundleValue in Webform Content Creator 2.x
Sets the target bundle id.
Parameters
string $bundle: Target bundle id.
Return value
$this The Webform Content Creator entity.
Overrides WebformContentCreatorInterface::setBundleValue
File
- src/
Entity/ WebformContentCreatorEntity.php, line 207
Class
- WebformContentCreatorEntity
- Defines the Webform Content Creator entity.
Namespace
Drupal\webform_content_creator\EntityCode
public function setBundleValue($bundle) {
$this
->set('target_bundle', $bundle);
return $this;
}