You are here

public function GridStackAdmin::closingForm in GridStack 8

Same name and namespace in other branches
  1. 8.2 src/Form/GridStackAdmin.php \Drupal\gridstack\Form\GridStackAdmin::closingForm()

Returns the closing ending form elements.

1 call to GridStackAdmin::closingForm()
GridStackAdmin::buildSettingsForm in src/Form/GridStackAdmin.php
Returns all settings form elements.

File

src/Form/GridStackAdmin.php, line 149

Class

GridStackAdmin
Provides resusable admin functions or form elements.

Namespace

Drupal\gridstack\Form

Code

public function closingForm(array &$form, $definition = []) {
  if (!isset($form['cache'])) {
    $this->blazyAdmin
      ->closingForm($form, $definition);
  }
  $form['#attached']['library'][] = 'gridstack/admin';
}