59 calls to StringTranslationTrait::formatPlural()

AddFormBase::buildForm in core/modules/media_library/src/Form/AddFormBase.php
AddFormBase::updateLibrary in core/modules/media_library/src/Form/AddFormBase.php
AJAX callback to send the new media item(s) to the media library.
BlockContentDeleteForm::getDescription in core/modules/block_content/src/Form/BlockContentDeleteForm.php
BlockContentTypeDeleteForm::buildForm in core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php
CKEditor5StylesheetsMessage::getWarning in core/modules/ckeditor5/src/CKEditor5StylesheetsMessage.php
Generates a warning related to ckeditor_stylesheets.
CommentLinkBuilder::buildCommentedEntityLinks in core/modules/comment/src/CommentLinkBuilder.php
CommentTypeDeleteForm::buildForm in core/modules/comment/src/Form/CommentTypeDeleteForm.php
ComposerPluginsValidator::validate in core/modules/package_manager/src/Validator/ComposerPluginsValidator.php
Validates the allowed Composer plugins, both in active and stage.
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
ConfirmDeleteMultiple::getDeletedMessage in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
ConfirmDeleteMultiple::getInaccessibleMessage in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
ConfirmDeleteMultiple::getQuestion in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
DateFormatter::formatDiff in core/lib/Drupal/Core/Datetime/DateFormatter.php
DateFormatter::formatInterval in core/lib/Drupal/Core/Datetime/DateFormatter.php
DbUpdateController::selection in core/modules/system/src/Controller/DbUpdateController.php
Renders a list of available database updates.
DeleteMultiple::getDeletedMessage in core/modules/node/src/Form/DeleteMultiple.php
DeleteMultiple::getInaccessibleMessage in core/modules/node/src/Form/DeleteMultiple.php
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
EnabledExtensionsValidator::validate in core/modules/package_manager/src/Validator/EnabledExtensionsValidator.php
Validates that no enabled Drupal extensions have been removed.
EntityType::getCountLabel in core/lib/Drupal/Core/Entity/EntityType.php
FieldStorageConfigEditForm::validateCardinality in core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php
Validates the cardinality.
FieldUninstallValidator::validate in core/modules/field/src/FieldUninstallValidator.php
FileUploadForm::buildInputElement in core/modules/media_library/src/Form/FileUploadForm.php
FormErrorHandler::displayErrorMessages in core/modules/inline_form_errors/src/FormErrorHandler.php
Loops through and displays all form errors.
LockFileValidator::validate in core/modules/package_manager/src/Validator/LockFileValidator.php
Checks that the active lock file is unchanged during stage operations.
MediaTypeDeleteConfirmForm::buildForm in core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php
MenuDeleteForm::getDescription in core/modules/menu_ui/src/Form/MenuDeleteForm.php
MenuForm::buildOverviewForm in core/modules/menu_ui/src/MenuForm.php
Form constructor to edit an entire menu tree at once.
ModuleRequiredByThemesUninstallValidator::validate in core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php
ModuleRequiredByThemesUninstallValidator::validateConfigImport in core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php
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
ModulesListNonStableConfirmForm::getQuestion in core/modules/system/src/Form/ModulesListNonStableConfirmForm.php
NodeTypeDeleteConfirm::buildForm in core/modules/node/src/Form/NodeTypeDeleteConfirm.php
OverviewTerms::buildForm in core/modules/taxonomy/src/Form/OverviewTerms.php
Form constructor.
Permissions::transitionPermissions in core/modules/content_moderation/src/Permissions.php
Returns an array of transition permissions.
PluralVariants::getSourceElement in core/modules/config_translation/src/FormElement/PluralVariants.php
PluralVariants::getTranslationElement in core/modules/config_translation/src/FormElement/PluralVariants.php
PrepareModulesEntityUninstallForm::buildForm in core/modules/system/src/Form/PrepareModulesEntityUninstallForm.php
ReviewForm::buildForm in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
SearchPageListBuilder::buildForm in core/modules/search/src/SearchPageListBuilder.php
ShortcutSetDeleteForm::buildForm in core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php
SmartDefaultSettings::computeSmartDefaultSettings in core/modules/ckeditor5/src/SmartDefaultSettings.php
Computes the closest possible equivalent settings for switching to CKEditor 5.
SupportedReleaseValidator::validate in core/modules/package_manager/src/Validator/SupportedReleaseValidator.php
Checks that the packages are secure and supported.
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
ThemeExperimentalConfirmForm::submitForm in core/modules/system/src/Form/ThemeExperimentalConfirmForm.php
TranslateEditForm::buildForm in core/modules/locale/src/Form/TranslateEditForm.php
UserLoginForm::validateFinal in core/modules/user/src/Form/UserLoginForm.php
Checks if user was not authenticated, or if too many logins were attempted.
WorkspaceDeleteForm::buildForm in core/modules/workspaces/src/Form/WorkspaceDeleteForm.php
WorkspaceMergeForm::buildForm in core/modules/workspaces/src/Form/WorkspaceMergeForm.php
WorkspacePublishForm::buildForm in core/modules/workspaces/src/Form/WorkspacePublishForm.php

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