You are here

public function SliderPro::addNewLayerSubmit in Slider Pro 8

Submit callback to add new layer.

Parameters

$form:

\Drupal\Core\Form\FormStateInterface $form_state:

File

src/Plugin/views/style/SliderPro.php, line 444

Class

SliderPro
Plugin annotation @ViewsStyle( id = "slider_pro", title = @Translation("Slider Pro"), help = @Translation("Displays a view as a Slider Pro, using the Slider Pro jQuery plugin."), theme = "slider_pro_views_style", theme_file =…

Namespace

Drupal\slider_pro\Plugin\views\style

Code

public function addNewLayerSubmit($form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild(TRUE);
}