You are here

abstract protected function ConfigDependencyDeleteFormTrait::t in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php \Drupal\Core\Config\Entity\ConfigDependencyDeleteFormTrait::t()
  2. 10 core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php \Drupal\Core\Config\Entity\ConfigDependencyDeleteFormTrait::t()

Translates a string to the current language or to a given language.

Provided by \Drupal\Core\StringTranslation\StringTranslationTrait.

35 calls to ConfigDependencyDeleteFormTrait::t()
BlockDeleteForm::getConfirmText in core/modules/block/src/Form/BlockDeleteForm.php
BlockDeleteForm::getDeletionMessage in core/modules/block/src/Form/BlockDeleteForm.php
Gets the message to display to the user after deleting the entity.
BlockDeleteForm::getQuestion in core/modules/block/src/Form/BlockDeleteForm.php
CommentTypeDeleteForm::buildForm in core/modules/comment/src/Form/CommentTypeDeleteForm.php
Form constructor.
ConfigDependencyDeleteFormTrait::addDependencyListsToForm in core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php
Adds form elements to list affected configuration entities.

... See full list

File

core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php, line 20

Class

ConfigDependencyDeleteFormTrait
Lists affected configuration entities by a dependency removal.

Namespace

Drupal\Core\Config\Entity

Code

protected abstract function t($string, array $args = [], array $options = []);