You are here

public function SlideGroupBaseForm::addmoreCallback in Drupal Slider 8

Same name and namespace in other branches
  1. 8.2 src/Form/SlideGroupBaseForm.php \Drupal\drupal_slider\Form\SlideGroupBaseForm::addmoreCallback()

Callback for both ajax-enabled buttons.

Selects and returns the fieldset with the names in it.

File

src/Form/SlideGroupBaseForm.php, line 112

Class

SlideGroupBaseForm
Class SlideGroupBaseForm.

Namespace

Drupal\drupal_slider\Form

Code

public function addmoreCallback(array &$form, FormStateInterface $form_state) {
  return $form['slides'];
}