34 calls to StringTranslationTrait::formatPlural()

BlockContentDeleteForm::getDescription in core/modules/block_content/src/Form/BlockContentDeleteForm.php
Returns additional text to display as a description.
BlockContentTypeDeleteForm::buildForm in core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php
Form constructor.
CommentLinkBuilder::buildCommentedEntityLinks in core/modules/comment/src/CommentLinkBuilder.php
Builds links for the given entity.
CommentTypeDeleteForm::buildForm in core/modules/comment/src/Form/CommentTypeDeleteForm.php
Form constructor.
ConfigImportSubscriber::validateDependencies in core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
Validates configuration being imported does not have unmet dependencies.
ConfigImportSubscriber::validateModules in core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php
Validates module installations and uninstallations.
ConfigSync::buildForm in core/modules/config/src/Form/ConfigSync.php
Form constructor.
ConfirmDeleteMultiple::getDeletedMessage in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
Returns the message to show the user after an item was deleted.
ConfirmDeleteMultiple::getInaccessibleMessage in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
Returns the message to show the user when an item has not been deleted.
ConfirmDeleteMultiple::getQuestion in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
Returns the question to ask the user.
DateFormatter::formatDiff in core/lib/Drupal/Core/Datetime/DateFormatter.php
Formats a time interval between two timestamps.
DateFormatter::formatInterval in core/lib/Drupal/Core/Datetime/DateFormatter.php
Formats a time interval with the requested granularity.
DbUpdateController::selection in core/modules/system/src/Controller/DbUpdateController.php
Renders a list of available database updates.
DeleteMultipleForm::getDeletedMessage in core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php
Returns the message to show the user after an item was deleted.
DeleteMultipleForm::getInaccessibleMessage in core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php
Returns the message to show the user when an item has not been deleted.
DeleteMultipleForm::getQuestion in core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php
Returns the question to ask the user.
EntityType::getCountLabel in core/lib/Drupal/Core/Entity/EntityType.php
Gets the label's definite article form for use with a count of entities.
FieldStorageConfigEditForm::validateCardinality in core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php
Validates the cardinality.
FormErrorHandler::displayErrorMessages in core/modules/inline_form_errors/src/FormErrorHandler.php
Loops through and displays all form errors.
ModuleRequiredByThemesUninstallValidator::validate in core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php
Determines the reasons a module can not be uninstalled.
ModuleRequiredByThemesUninstallValidator::validateConfigImport in core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php
Determines reasons a module can not be uninstalled prior to config import.
ModulesEnabledTrait::modulesEnabledConfirmationMessage in core/modules/system/src/Form/ModulesEnabledTrait.php
Provides a confirmation message after modules have been enabled.
ModulesEnabledTrait::modulesFailToEnableMessage in core/modules/system/src/Form/ModulesEnabledTrait.php
Provides a fail message after attempt to install a module.
ModulesListConfirmForm::buildMessageList in core/modules/system/src/Form/ModulesListConfirmForm.php
Builds the message list for the confirmation form.
ModulesListNonStableConfirmForm::buildMessageList in core/modules/system/src/Form/ModulesListNonStableConfirmForm.php
Builds the message list for the confirmation form.
ModulesListNonStableConfirmForm::getQuestion in core/modules/system/src/Form/ModulesListNonStableConfirmForm.php
Returns the question to ask the user.
OverviewTerms::buildForm in core/modules/taxonomy/src/Form/OverviewTerms.php
Form constructor.
PrepareModulesEntityUninstallForm::buildForm in core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php
Form constructor.
ReviewForm::buildForm in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
Form constructor.
SystemController::themesPage in core/modules/system/src/Controller/SystemController.php
Returns a theme listing which excludes obsolete themes.
ThemeController::install in core/modules/system/src/Controller/ThemeController.php
Installs a theme.
ThemeExperimentalConfirmForm::buildForm in core/modules/system/src/Form/ThemeExperimentalConfirmForm.php
Form constructor.
ThemeExperimentalConfirmForm::submitForm in core/modules/system/src/Form/ThemeExperimentalConfirmForm.php
Form submission handler.
UserLoginForm::validateFinal in core/modules/user/src/Form/UserLoginForm.php
Checks if user was not authenticated, or if too many logins were attempted.

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