public function SwitchPageThemeSettingForm::removeCallback in Switch Page Theme 8
Same name and namespace in other branches
- 8.3 src/Form/SwitchPageThemeSettingForm.php \Drupal\switch_page_theme\Form\SwitchPageThemeSettingForm::removeCallback()
- 8.2 src/Form/SwitchPageThemeSettingForm.php \Drupal\switch_page_theme\Form\SwitchPageThemeSettingForm::removeCallback()
Callback for ajax-enabled remove buttons.
Selects and returns the fieldset with the names in it.
File
- src/
Form/ SwitchPageThemeSettingForm.php, line 352
Class
- SwitchPageThemeSettingForm
- Configuration page for Switch page theme settings.
Namespace
Drupal\switch_page_theme\FormCode
public function removeCallback(array &$form, FormStateInterface $form_state) {
return $form['spt_table'];
}