protected function WebformResultsCustomForm::deleteData in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformResultsCustomForm.php \Drupal\webform\Form\WebformResultsCustomForm::deleteData()
Delete custom data.
Parameters
string $name: The name for the custom data.
1 call to WebformResultsCustomForm::deleteData()
- WebformResultsCustomForm::delete in src/
Form/ WebformResultsCustomForm.php - Webform delete customized columns handler.
File
- src/
Form/ WebformResultsCustomForm.php, line 588
Class
- WebformResultsCustomForm
- Webform for webform results custom(ize) webform.
Namespace
Drupal\webform\FormCode
protected function deleteData($name) {
$method = $this
->getDataMethod('delete');
$key = $this
->getDataKey($name);
$this->webform
->{$method}($key);
}