Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 8.9.x for source
  4. Search 10.3.x for source
  5. Other projects
Title Object type File name Summary
LayoutBuilderEntityViewDisplayResourceTestBase::$modules property core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php Modules to install.
LayoutBuilderEntityViewDisplayResourceTestBase::createEntity function core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php Creates the entity to be tested.
LayoutBuilderEntityViewDisplayResourceTestBase::getExpectedNormalizedEntity function core/modules/layout_builder/tests/src/Functional/Rest/LayoutBuilderEntityViewDisplayResourceTestBase.php Returns the expected normalization of the entity.
LocaleFileManager::downloadTranslationSource function core/modules/locale/src/File/LocaleFileManager.php Downloads a translation file from a remote server.
LocaleSource class core/modules/locale/src/LocaleSource.php Provides the locale source services.
LocaleSource.php file core/modules/locale/src/LocaleSource.php
LocaleSource::buildServerPattern function core/modules/locale/src/LocaleSource.php Build path to translation source, out of a server path replacement pattern.
LocaleSource::buildSources function core/modules/locale/src/LocaleSource.php Build translation sources.
LocaleSource::clearSources function core/modules/locale/src/LocaleSource.php Clear the translation status cache.
LocaleSource::deleteSources function core/modules/locale/src/LocaleSource.php Delete project entries from the status cache.
LocaleSource::deleteSourcesByLanguage function core/modules/locale/src/LocaleSource.php Deletes sources for a given language code.
LocaleSource::fileIsRemote function core/modules/locale/src/LocaleSource.php Determine if a file is a remote file.
LocaleSource::getLastChecked function core/modules/locale/src/LocaleSource.php Returns the last checked timestamp.
LocaleSource::LAST_CHECKED constant core/modules/locale/src/LocaleSource.php They key for the last checked information in the key value store.
LocaleSource::loadSource function core/modules/locale/src/LocaleSource.php Loads a single translation source containing current translation status.
LocaleSource::loadSources function core/modules/locale/src/LocaleSource.php Loads cached translation sources containing current translation status.
LocaleSource::LOCAL_FILE_HASH_ALGO constant core/modules/locale/src/LocaleSource.php The hash algorithm used to calculate the hash of the local file.
LocaleSource::saveSource function core/modules/locale/src/LocaleSource.php Saves the status of translation sources in static cache.
LocaleSource::sourceBuild function core/modules/locale/src/LocaleSource.php Builds abstract translation source.
LocaleSource::sourceCheckFile function core/modules/locale/src/LocaleSource.php Checks whether a po file exists in the local filesystem.
LocaleSource::updateLastChecked function core/modules/locale/src/LocaleSource.php Updates the last checked timestamp.
LocaleSource::__construct function core/modules/locale/src/LocaleSource.php
LocaleStringTest::buildSourceString function core/modules/locale/tests/src/Kernel/LocaleStringTest.php Creates random source string object.
LocaleTranslationChangeProjectVersionTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php Tests update translations when project version changes.
LocaleTranslationDownloadTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php Tests translation download from remote sources.
LocaleTranslationSource class core/modules/locale/src/LocaleTranslationSource.php Provides source and translation status information for a project/langcode.
LocaleTranslationSource.php file core/modules/locale/src/LocaleTranslationSource.php
LocaleTranslationSource::$core property core/modules/locale/src/LocaleTranslationSource.php The core for the Server pattern, always "all".
LocaleTranslationSource::$files property core/modules/locale/src/LocaleTranslationSource.php List of locale file object.
LocaleTranslationSource::$name property core/modules/locale/src/LocaleTranslationSource.php The project name.
LocaleTranslationSource::$server_pattern property core/modules/locale/src/LocaleTranslationSource.php The server pattern.
LocaleTranslationSource::$version property core/modules/locale/src/LocaleTranslationSource.php The version.
LocaleTranslationSource::fromProject function core/modules/locale/src/LocaleTranslationSource.php Create a LocaleTranslationSource object from a project.
LocaleTranslationSource::__construct function core/modules/locale/src/LocaleTranslationSource.php
LocaleUpdateTest::testUpdateImportSourceLocal function core/modules/locale/tests/src/Functional/LocaleUpdateTest.php Tests translation import from local sources.
LocaleUpdateTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleUpdateTest.php Tests translation import from remote sources.
locale_post_update_clear_sources function core/modules/locale/locale.post_update.php Clear locale source information.
locale_translation_build_sources function core/modules/locale/locale.translation.inc Build translation sources.
locale_translation_download_source function core/modules/locale/locale.batch.inc Downloads a translation file from a remote server.
locale_translation_load_sources function core/modules/locale/locale.translation.inc Loads cached translation sources containing current translation status.
locale_translation_source_build function core/modules/locale/locale.translation.inc Builds abstract translation source.
locale_translation_source_check_file function core/modules/locale/locale.translation.inc Checks whether a po file exists in the local filesystem.
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ constant core/modules/locale/locale.translation.inc Comparison result of source files timestamps.
LOCALE_TRANSLATION_SOURCE_COMPARE_GT constant core/modules/locale/locale.translation.inc Comparison result of source files timestamps.
LOCALE_TRANSLATION_SOURCE_COMPARE_LT constant core/modules/locale/locale.translation.inc Comparison result of source files timestamps.
locale_translation_use_remote_source function core/modules/locale/locale.module Checks whether remote translation sources are used.
LOCALE_TRANSLATION_USE_SOURCE_LOCAL constant core/modules/locale/locale.module Translation update mode: Use local files only.
LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL constant core/modules/locale/locale.module Translation update mode: Use both remote and local files.
media.oembed.resource_fetcher service core/modules/media/media.services.yml Drupal\media\OEmbed\ResourceFetcher
Media::getSource function core/modules/media/src/Entity/Media.php Returns the media source.

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