3 namespace Drupal\entityqueue\Form;
5 use Drupal\Core\Entity\ContentEntityDeleteForm;
8 * Provides the entity subqueue delete confirmation form.
10 class EntitySubqueueDeleteForm extends ContentEntityDeleteForm {
15 public function getCancelUrl() {
16 // Point to the parent queue entity.
17 return $this->entity->queue->entity->urlInfo('subqueue-list');
23 protected function getRedirectUrl() {
24 return $this->getCancelUrl();