You are here

public function DibaCarousel::ajaxFormSettingsCallback in Diba carousel slider 8

Ajax callback to update diba carousel settings.

File

src/Plugin/Block/DibaCarousel.php, line 518

Class

DibaCarousel
Provides a Diba carousel Block.

Namespace

Drupal\diba_carousel\Plugin\Block

Code

public function ajaxFormSettingsCallback(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild(TRUE);
  return $form['settings']['diba_carousel_settings'];
}