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

Fichier

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

Classe

Slideshow
Style plugin to render each item in a grid cell.

Namespace

Drupal\views_slideshow\Plugin\views\style

Code

public function validateOptionsForm(&$form, FormStateInterface $form_state) {
    $arguments = array(
        &$form,
        &$form_state,
        &$this,
    );
    // Call all modules that use hook_views_slideshow_options_form_validate
    foreach (\Drupal::moduleHandler()->getImplementations('views_slideshow_options_form_validate') as $module) {
        $function = $module . '_views_slideshow_options_form_validate';
        call_user_func_array($function, $arguments);
    }
}