1 | <?php |
||
17 | class EntityBrowserDeleteForm extends EntityDeleteForm { |
||
18 | |||
19 | /** |
||
20 | * Gathers a confirmation question. |
||
21 | * |
||
22 | * @return string |
||
23 | * Translated string. |
||
24 | */ |
||
25 | public function getQuestion() { |
||
30 | |||
31 | /** |
||
32 | * Gather the confirmation text. |
||
33 | * |
||
34 | * @return string |
||
35 | * Translated string. |
||
36 | */ |
||
37 | public function getConfirmText() { |
||
40 | |||
41 | /** |
||
42 | * Gets the cancel URL. |
||
43 | * |
||
44 | * @return \Drupal\Core\Url |
||
45 | * The URL to go to if the user cancels the deletion. |
||
46 | */ |
||
47 | public function getCancelUrl() { |
||
50 | |||
51 | /** |
||
52 | * The submit handler for the confirm form. |
||
53 | * |
||
54 | * @param array $form |
||
55 | * An associative array containing the structure of the form. |
||
56 | * @param \Drupal\Core\Form\FormStateInterface $form_state |
||
57 | * An associative array containing the current state of the form. |
||
58 | */ |
||
59 | public function submitForm(array &$form, FormStateInterface $form_state) { |
||
71 | |||
72 | } |
||
73 |