locale.bulk.inc

Mass import-export and batch import functionality for Gettext .po files. File core/modules/locale/locale.bulk.inc Functions Name Description locale_config_batch_build Creates a locale batch to refresh specific configuration. locale_config_batch_finished Implements callback_batch_finished(). locale_config_batch_refresh_name Implements callback_batch_operation(). locale_config_batch_update_components Builds a locale batch to refresh configuration. locale_translate_batch_bu

locale.batch.inc

Batch process to check the availability of remote or local po files. File core/modules/locale/locale.batch.inc Functions Name Description locale_translation_batch_fetch_download Implements callback_batch_operation(). locale_translation_batch_fetch_finished Implements callback_batch_finished(). locale_translation_batch_fetch_import Implements callback_batch_operation(). locale_translation_batch_status_check Implements callback_batch_operation(). locale_translation_batch_s

locale-translation-update-info.html.twig

Default theme implementation for displaying translation status information. Displays translation status information per language. Available variables: modules: A list of modules names that have available translation updates. updates: A list of available translation updates. not_found: A list of modules missing translation updates. See also template_preprocess_locale_translation_update_info() File core/modules/locale/templates/locale-translation-update-info.html.twig Related topics Them

locale-translation-last-check.html.twig

Default theme implementation for the last time we checked for update data. Available variables: last_checked: Whether or not locale updates have been checked before. time: The formatted time ago when the site last checked for available updates. link: A link to manually check available updates. See also template_preprocess_locale_translation_last_check() File core/modules/locale/templates/locale-translation-last-check.html.twig Related topics Theme system overview Functions and template

Locale

Static service container wrapper for locale. Hierarchy class \Drupal\locale\Locale File core/modules/locale/src/Locale.php, line 8 Namespace Drupal\locale Members Name Modifiers Type Description Locale::config public static function Returns the locale configuration manager service.

LocalAwareRedirectResponseTrait::setRequestContext

public LocalAwareRedirectResponseTrait::setRequestContext(RequestContext $request_context) Sets the request context. Parameters \Drupal\Core\Routing\RequestContext $request_context: The request context. Return value $this File core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 46 Class LocalAwareRedirectResponseTrait Provides a trait which ensures that a URL is safe to redirect to. Namespace Drupal\Core\Routing Code public function setRequestContext(RequestContext

LocalAwareRedirectResponseTrait::isLocal

protected LocalAwareRedirectResponseTrait::isLocal($url) File core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 22 Class LocalAwareRedirectResponseTrait Provides a trait which ensures that a URL is safe to redirect to. Namespace Drupal\Core\Routing Code protected function isLocal($url) { return !UrlHelper::isExternal($url) || UrlHelper::externalIsLocal($url, $this->getRequestContext()->getCompleteBaseUrl()); }

LocalAwareRedirectResponseTrait::getRequestContext

protected LocalAwareRedirectResponseTrait::getRequestContext() Returns the request context. Return value \Drupal\Core\Routing\RequestContext File core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 31 Class LocalAwareRedirectResponseTrait Provides a trait which ensures that a URL is safe to redirect to. Namespace Drupal\Core\Routing Code protected function getRequestContext() { if (!isset($this->requestContext)) { $this->requestContext = \Drupal::service

LocalAwareRedirectResponseTrait::$requestContext

The request context. Type: \Drupal\Core\Routing\RequestContext File core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 17 Class LocalAwareRedirectResponseTrait Provides a trait which ensures that a URL is safe to redirect to. Namespace Drupal\Core\Routing Code protected $requestContext;

LocalAwareRedirectResponseTrait

Provides a trait which ensures that a URL is safe to redirect to. Hierarchy trait \Drupal\Core\Routing\LocalAwareRedirectResponseTrait File core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 10 Namespace Drupal\Core\Routing Members Name Modifiers Type Description LocalAwareRedirectResponseTrait::$requestContext protected property The request context. LocalAwareRedirectResponseTrait::getRequestContext protected function Returns the request cont