next-1.0.0-alpha2/src/Form/NextSiteDeleteForm.php
src/Form/NextSiteDeleteForm.php
<?php
namespace Drupal\next\Form;
use Drupal\Core\Entity\EntityDeleteForm;
use Drupal\Core\Url;
/**
* Provides a deletion confirmation form for the next_site deletion form.
*/
class NextSiteDeleteForm extends EntityDeleteForm {
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return new Url('entity.next_site.collection');
}
}
