You are here

public function SlideBaseForm::addmoreCallback in Drupal Slider 8

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

Callback for both ajax-enabled buttons.

Selects and returns the fieldset with the names in it.

File

src/Form/SlideBaseForm.php, line 110

Class

SlideBaseForm
Class SlideBaseForm.

Namespace

Drupal\drupal_slider\Form

Code

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