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\BlockCode
public function ajaxFormSettingsCallback(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild(TRUE);
return $form['settings']['diba_carousel_settings'];
}