public function WebformInterface::deleteWebformVariant in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::deleteWebformVariant()
Deletes a webform variant from this webform.
Parameters
\Drupal\webform\Plugin\WebformVariantInterface $variant: The webform variant object.
Return value
$this
1 method overrides WebformInterface::deleteWebformVariant()
- Webform::deleteWebformVariant in src/
Entity/ Webform.php - Deletes a webform variant from this webform.
File
- src/
WebformInterface.php, line 1098
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function deleteWebformVariant(WebformVariantInterface $variant);