public function BlockManagerForm::updateCallback in Gutenberg 8
Same name and namespace in other branches
- 8.2 modules/gutenberg_cloud/src/Form/BlockManagerForm.php \Drupal\gutenberg_cloud\Form\BlockManagerForm::updateCallback()
Block update 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 301
Class
- BlockManagerForm
- Configure Gutenberg Cloud blocks.
Namespace
Drupal\gutenberg_cloud\FormCode
public function updateCallback(array &$form, FormStateInterface $form_state) {
$output = $this
->performCallbackAction($form, $form_state, 'update');
return $output;
}