You are here

public function FlagFormBase::delete in Flag 8.4

File

src/Form/FlagFormBase.php, line 373

Class

FlagFormBase
Provides the base flag add/edit form.

Namespace

Drupal\flag\Form

Code

public function delete(array $form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('flag_list');
}