BlockDeleteForm.php in Zircon Profile 8
Same filename and directory in other branches
Contains \Drupal\block\Form\BlockDeleteForm.
Namespace
Drupal\block\FormFile
core/modules/block/src/Form/BlockDeleteForm.phpView source
<?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');
}
}
Classes
Name![]() |
Description |
---|---|
BlockDeleteForm | Provides a deletion confirmation form for the block instance deletion form. |