GridStackVariantDeleteForm.php in GridStack 8.2
File
modules/gridstack_ui/src/Form/GridStackVariantDeleteForm.php
View source
<?php
namespace Drupal\gridstack_ui\Form;
use Drupal\Core\Url;
class GridStackVariantDeleteForm extends GridStackDeleteForm {
public function getQuestion() {
return $this
->t('Are you sure you want to delete the GridStack variant %label?', [
'%label' => $this->entity
->label(),
]);
}
public function getCancelUrl() {
return new Url('entity.gridstack_variant.collection');
}
}