You are here

public function LocalTaskForm::delete in Translation Management Tool 8

File

translators/tmgmt_local/src/Form/LocalTaskForm.php, line 176

Class

LocalTaskForm
Form controller for the localTask edit forms.

Namespace

Drupal\tmgmt_local\Form

Code

public function delete(array $form, FormStateInterface $form_state) {
  $form_state
    ->setRedirectUrl($this->entity
    ->toUrl('delete-form'));
}