library_manager-8.x-1.0/src/Form/LibraryDefinitionDeleteForm.php
src/Form/LibraryDefinitionDeleteForm.php
<?php namespace Drupal\library_manager\Form; use Drupal\Core\Entity\EntityDeleteForm; /** * Builds the form to delete a library definition. */ class LibraryDefinitionDeleteForm extends EntityDeleteForm { /** * {@inheritdoc} */ public function getFormId() { return '_confirm_delete'; } /** * {@inheritdoc} */ public function getQuestion() { return $this->t('Are you sure you want to delete the library definition %id?', ['%id' => $this->entity->id()]); } /** * {@inheritdoc} */ protected function getDeletionMessage() { return $this->t('Deleted library definition %id.', ['%id' => $this->entity->id()]); } }