You are here

public function GridStackLayoutBase::validateConfigurationForm in GridStack 8.2

Form validation handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides LayoutDefault::validateConfigurationForm

File

src/Plugin/Layout/GridStackLayoutBase.php, line 162

Class

GridStackLayoutBase
Provides a GridStack base class for Layout plugins.

Namespace

Drupal\gridstack\Plugin\Layout

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
  parent::validateConfigurationForm($form, $form_state);
  $this->styleForm
    ->validateConfigurationForm($form, $form_state);
}