55 calls to StringTranslationTrait::formatPlural()

AddFormBase::buildForm in core/modules/media_library/src/Form/AddFormBase.php
Form constructor.
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
Returns additional text to display as a description.
BlockContentTypeDeleteForm::buildForm in core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php
Form constructor.
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
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.
DeleteMultiple::getDeletedMessage in core/modules/node/src/Form/DeleteMultiple.php
Returns the message to show the user after an item was deleted.
DeleteMultiple::getInaccessibleMessage in core/modules/node/src/Form/DeleteMultiple.php
Returns the message to show the user when an item has not been deleted.
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.
FieldUninstallValidator::validate in core/modules/field/src/FieldUninstallValidator.php
Determines the reasons a module can not be uninstalled.
FileUploadForm::buildInputElement in core/modules/media_library/src/Form/FileUploadForm.php
Builds the element for submitting source field value(s).
FormErrorHandler::displayErrorMessages in core/modules/inline_form_errors/src/FormErrorHandler.php
Loops through and displays all form errors.
MediaTypeDeleteConfirmForm::buildForm in core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php
Form constructor.
MenuDeleteForm::getDescription in core/modules/menu_ui/src/Form/MenuDeleteForm.php
Returns additional text to display as a description.
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
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.
NodeTypeDeleteConfirm::buildForm in core/modules/node/src/Form/NodeTypeDeleteConfirm.php
Form constructor.
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
Returns the source element for a given configuration definition.
PluralVariants::getTranslationElement in core/modules/config_translation/src/FormElement/PluralVariants.php
Returns the translation form element for a given configuration definition.
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.
SearchPageListBuilder::buildForm in core/modules/search/src/SearchPageListBuilder.php
Form constructor.
ShortcutSetDeleteForm::buildForm in core/modules/shortcut/src/Form/ShortcutSetDeleteForm.php
Form constructor.
SmartDefaultSettings::computeSmartDefaultSettings in core/modules/ckeditor5/src/SmartDefaultSettings.php
Computes the closest possible equivalent settings for switching to CKEditor 5.
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.
TranslateEditForm::buildForm in core/modules/locale/src/Form/TranslateEditForm.php
Form constructor.
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
Form constructor.
WorkspaceMergeForm::buildForm in core/modules/workspaces/src/Form/WorkspaceMergeForm.php
Form constructor.
WorkspacePublishForm::buildForm in core/modules/workspaces/src/Form/WorkspacePublishForm.php
Form constructor.

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