You are here

public function SliderPro::removeLayerSubmit in Slider Pro 8

Submit callback to remove a layer.

Parameters

$form:

\Drupal\Core\Form\FormStateInterface $form_state:

File

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

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 removeLayerSubmit($form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild(TRUE);
}