Same name and namespace in other branches
  1. 5.0.x src/Plugin/views/style/Slideshow.php \Drupal\views_slideshow\Plugin\views\style\Slideshow::submitOptionsForm()
  2. 8.x-3.x src/Plugin/views/style/Slideshow.php \Drupal\views_slideshow\Plugin\views\style\Slideshow::submitOptionsForm()

Fichier

src/Plugin/views/style/Slideshow.php, line 323

Classe

Slideshow
Style plugin to render each item in a slideshow.

Namespace

Drupal\views_slideshow\Plugin\views\style

Code

public function submitOptionsForm(&$form, FormStateInterface $form_state) {
    // Submit all slideshow type plugins values.
    $typeManager = \Drupal::service('plugin.manager.views_slideshow.slideshow_type');
    foreach ($typeManager->getDefinitions() as $id => $definition) {
        $type = $typeManager->createInstance($id);
        $type->submitConfigurationForm($form, $form_state);
    }
}