library_management_system-1.0.1/src/Form/ConfirmDeleteMultipleIssuedLmsBook.php
src/Form/ConfirmDeleteMultipleIssuedLmsBook.php
<?php
namespace Drupal\library_management_system\Form;
use Drupal\Core\Entity\Form\DeleteMultipleForm as EntityDeleteMultipleForm;
use Drupal\Core\Url;
/**
* Provides a node deletion confirmation form.
*
* @internal
*/
class ConfirmDeleteMultipleLmsPublication extends EntityDeleteMultipleForm {
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return new Url('lmspublication.lmspublication_list');
}
/**
* {@inheritdoc}
*/
protected function getDeletedMessage($count) {
return $this->formatPlural($count, 'Deleted @count content item.', 'Deleted @count content items.');
}
/**
* {@inheritdoc}
*/
protected function getInaccessibleMessage($count) {
return $this->formatPlural($count, "@count content item has not been deleted because you do not have the necessary permissions.", "@count content items have not been deleted because you do not have the necessary permissions.");
}
}
