public function BlockManagerForm::uninstallCallback in Gutenberg 8
Same name and namespace in other branches
- 8.2 modules/gutenberg_cloud/src/Form/BlockManagerForm.php \Drupal\gutenberg_cloud\Form\BlockManagerForm::uninstallCallback()
Block uninstall callback.
Parameters
array $form: Form structure.
\Drupal\Core\Form\FormStateInterface $form_state: Form state.
Return value
array Form element
File
- modules/
gutenberg_cloud/ src/ Form/ BlockManagerForm.php, line 318
Class
- BlockManagerForm
- Configure Gutenberg Cloud blocks.
Namespace
Drupal\gutenberg_cloud\FormCode
public function uninstallCallback(array &$form, FormStateInterface $form_state) {
$output = $this
->performCallbackAction($form, $form_state, 'uninstall');
return $output;
}