| 1 | <?php |
||
| 16 | class EntityBrowserDeleteForm extends EntityDeleteForm { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public function getQuestion() { |
||
| 22 | return $this->t( |
||
| 23 | 'Are you sure you want to delete entity browser %label?', |
||
| 24 | ['%label' => $this->entity->label()] |
||
| 25 | ); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function getConfirmText() { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getCancelUrl() { |
||
| 39 | return new Url('entity.entity_browser.collection'); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | protected function getDeletionMessage() { |
||
| 51 | |||
| 52 | } |
||
| 53 |