public function getBaseFormId() { return 'entity_delete_multiple_confirm_form';
} /**
* {@inheritdoc}
*/
public function getFormId() { // Get entity type ID from the route because ::buildForm has not yet been
// called.
$entity_type_id =
$this->
getRouteMatch()->
getParameter('entity_type_id'
);
return $entity_type_id . '_delete_multiple_confirm_form';
} /**
* {@inheritdoc}
*/
public function getQuestion() { return $this->
formatPlural(count($this->selection
), 'Are you sure you want to delete this @item?', 'Are you sure you want to delete these @items?',
[ '@item' =>
$this->entityType->
getSingularLabel(),
'@items' =>
$this->entityType->
getPluralLabel(),
]);
}