UnitBundleDeleteConfirm.php in Booking and Availability Management Tools for Drupal 8
File
modules/bat_unit/src/Form/UnitBundleDeleteConfirm.php
View source
<?php
namespace Drupal\bat_unit\Form;
use Drupal\Core\Entity\EntityDeleteForm;
use Drupal\Core\Form\FormStateInterface;
class UnitBundleDeleteConfirm extends EntityDeleteForm {
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
$entity = $this
->getEntity();
return $form;
}
}