You are here

public function RuleDeleteForm::getCancelRoute in JS injector 8

File

lib/Drupal/js_injector/Form/RuleDeleteForm.php, line 27
Contains \Drupal\js_injector\Form\RuleDeleteForm.

Class

RuleDeleteForm
Provides a deletion confirmation form for js_injector rule entity.

Namespace

Drupal\js_injector\Form

Code

public function getCancelRoute() {
  return array(
    'route_name' => 'js_injector.rule_admin',
    'route_parameters' => array(
      'js_injector_rule' => $this->entity
        ->id(),
    ),
  );
}