You are here

public function BlockManagerForm::installCallback in Gutenberg 8.2

Same name and namespace in other branches
  1. 8 modules/gutenberg_cloud/src/Form/BlockManagerForm.php \Drupal\gutenberg_cloud\Form\BlockManagerForm::installCallback()

Block installation 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 284

Class

BlockManagerForm
Configure Gutenberg Cloud blocks.

Namespace

Drupal\gutenberg_cloud\Form

Code

public function installCallback(array &$form, FormStateInterface $form_state) {
  $output = $this
    ->performCallbackAction($form, $form_state, 'install');
  return $output;
}