t('Are you sure you want to delete the vocabulary %title?', ['%title' => $this->entity->label()]); } /** * {@inheritdoc} */ public function getDescription() { return $this->t('Deleting a vocabulary will delete all the terms in it. This action cannot be undone.'); } /** * {@inheritdoc} */ protected function getDeletionMessage() { return $this->t('Deleted vocabulary %name.', ['%name' => $this->entity->label()]); } }