protected function WebformUiElementDeleteForm::getWebformElementPlugin in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_ui/src/Form/WebformUiElementDeleteForm.php \Drupal\webform_ui\Form\WebformUiElementDeleteForm::getWebformElementPlugin()
Return the webform element plugin associated with this form.
Return value
\Drupal\webform\Plugin\WebformElementInterface A webform element.
2 calls to WebformUiElementDeleteForm::getWebformElementPlugin()
- WebformUiElementDeleteForm::getDescription in modules/
webform_ui/ src/ Form/ WebformUiElementDeleteForm.php - Returns additional text to display as a description.
- WebformUiElementDeleteForm::submitForm in modules/
webform_ui/ src/ Form/ WebformUiElementDeleteForm.php - Form submission handler.
File
- modules/
webform_ui/ src/ Form/ WebformUiElementDeleteForm.php, line 286
Class
- WebformUiElementDeleteForm
- Webform for deleting a webform element.
Namespace
Drupal\webform_ui\FormCode
protected function getWebformElementPlugin() {
return $this->elementManager
->getElementInstance($this->element);
}