Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
BlockDeleteForm | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
getCancelUrl | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\block\Form\BlockDeleteForm. | |
*/ | |
namespace Drupal\block\Form; | |
use Drupal\Core\Entity\EntityDeleteForm; | |
use Drupal\Core\Url; | |
/** | |
* Provides a deletion confirmation form for the block instance deletion form. | |
*/ | |
class BlockDeleteForm extends EntityDeleteForm { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getCancelUrl() { | |
return new Url('block.admin_display'); | |
} | |
} |