t( 'Are you sure you want to delete entity browser %label?', ['%label' => $this->entity->label()] ); } /** * {@inheritdoc} */ public function getConfirmText() { return $this->t('Delete Entity Browser'); } /** * {@inheritdoc} */ public function getCancelUrl() { return new Url('entity.entity_browser.collection'); } /** * {@inheritdoc} */ protected function getDeletionMessage() { return $this->t( 'Entity browser %label was deleted.', ['%label' => $this->entity->label()] ); } }