function ConfigDependencyDeleteFormTrait::t

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php \Drupal\Core\Config\Entity\ConfigDependencyDeleteFormTrait::t()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigDependencyDeleteFormTrait.php \Drupal\Core\Config\Entity\ConfigDependencyDeleteFormTrait::t()
  3. 11.x 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.

38 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::getDescription in core/modules/block/src/Form/BlockDeleteForm.php
Returns additional text to display as a description.
BlockDeleteForm::getQuestion in core/modules/block/src/Form/BlockDeleteForm.php
CommentTypeDeleteForm::buildForm in core/modules/comment/src/Form/CommentTypeDeleteForm.php
Form constructor.

... 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 = []);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.