Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
ActionDeleteForm | |
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\action\Form\ActionDeleteForm. | |
*/ | |
namespace Drupal\action\Form; | |
use Drupal\Core\Entity\EntityDeleteForm; | |
use Drupal\Core\Url; | |
/** | |
* Builds a form to delete an action. | |
*/ | |
class ActionDeleteForm extends EntityDeleteForm { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getCancelUrl() { | |
return new Url('entity.action.collection'); | |
} | |
} |