function ConfigDependencyDeleteFormTrait::t

Same name and namespace in other branches
  1. 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.

8 calls to ConfigDependencyDeleteFormTrait::t()
LanguageDeleteForm::getDeletionMessage in core/modules/language/src/Form/LanguageDeleteForm.php
Gets the message to display to the user after deleting the entity.
LanguageDeleteForm::getDescription in core/modules/language/src/Form/LanguageDeleteForm.php
Returns additional text to display as a description.
MenuLinkContentDeleteForm::getDeletionMessage in core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php
ModulesUninstallConfirmForm::buildForm in core/modules/system/src/Form/ModulesUninstallConfirmForm.php
Form constructor.
ModulesUninstallConfirmForm::getConfirmText in core/modules/system/src/Form/ModulesUninstallConfirmForm.php
Returns a caption for the button that confirms the action.

... 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

abstract protected 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.