Search for fetch

  1. Search 7.x for fetch
  2. Search 9.5.x for fetch
  3. Search 8.9.x for fetch
  4. Search 10.3.x for fetch
  5. Other projects
Title Object type File name Summary
StatisticsStorageInterface::fetchViews function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times entities have been viewed.
system-security-advisories-fetch-error-message.html.twig file core/themes/stable9/templates/admin/system-security-advisories-fetch-error-message.html.twig Theme override for the message when fetching security advisories fails.
system-security-advisories-fetch-error-message.html.twig file core/modules/system/templates/system-security-advisories-fetch-error-message.html.twig Default theme implementation for the message when fetching security advisories fails.
system.sa_fetcher service core/modules/system/system.services.yml Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher
template_preprocess_system_security_advisories_fetch_error_message function core/modules/system/system.theme.inc Prepares variables for security advisories fetch error message templates.
template_preprocess_update_fetch_error_message function core/modules/update/update.report.inc Prepares variables for update fetch error message templates.
update-fetch-error-message.html.twig file core/themes/stable9/templates/admin/update-fetch-error-message.html.twig Default theme implementation for the message when fetching data fails.
update-fetch-error-message.html.twig file core/modules/update/templates/update-fetch-error-message.html.twig Default theme implementation for the message when fetching data fails.
update.fetch.inc file core/modules/update/update.fetch.inc
update.fetcher service core/modules/update/update.services.yml Drupal\update\UpdateFetcher
UpdateContribTest::testUpdateBrokenFetchURL function core/modules/update/tests/src/Functional/UpdateContribTest.php Makes sure that if we fetch from a broken URL, sane things happen.
UpdateFetcher class core/modules/update/src/UpdateFetcher.php Fetches project information from remote locations.
UpdateFetcher.php file core/modules/update/src/UpdateFetcher.php
UpdateFetcher::$fetchUrl property core/modules/update/src/UpdateFetcher.php The fetch URL configured in the update settings.
UpdateFetcher::$httpClient property core/modules/update/src/UpdateFetcher.php The HTTP client to fetch the feed data with.
UpdateFetcher::$updateSettings property core/modules/update/src/UpdateFetcher.php The update settings.
UpdateFetcher::$withHttpFallback property core/modules/update/src/UpdateFetcher.php Whether to use HTTP fallback if HTTPS fails.
UpdateFetcher::buildFetchUrl function core/modules/update/src/UpdateFetcher.php
UpdateFetcher::doRequest function core/modules/update/src/UpdateFetcher.php Applies a GET request with a possible HTTP fallback.
UpdateFetcher::fetchProjectData function core/modules/update/src/UpdateFetcher.php
UpdateFetcher::getFetchBaseUrl function core/modules/update/src/UpdateFetcher.php
UpdateFetcher::UPDATE_DEFAULT_URL constant core/modules/update/src/UpdateFetcher.php URL to check for updates, if a given project doesn't define its own.
UpdateFetcher::__construct function core/modules/update/src/UpdateFetcher.php Constructs an UpdateFetcher.
UpdateFetcherInterface interface core/modules/update/src/UpdateFetcherInterface.php Fetches project information from remote locations.
UpdateFetcherInterface.php file core/modules/update/src/UpdateFetcherInterface.php
UpdateFetcherInterface::buildFetchUrl function core/modules/update/src/UpdateFetcherInterface.php Generates the URL to fetch information about project updates.
UpdateFetcherInterface::fetchProjectData function core/modules/update/src/UpdateFetcherInterface.php Retrieves the project information.
UpdateFetcherInterface::FETCH_PENDING constant core/modules/update/src/UpdateFetcherInterface.php We need to (re)fetch available update data for this project.
UpdateFetcherInterface::getFetchBaseUrl function core/modules/update/src/UpdateFetcherInterface.php Returns the base of the URL to fetch available update data for a project.
UpdateFetcherInterface::NOT_CHECKED constant core/modules/update/src/UpdateFetcherInterface.php Project's status cannot be checked.
UpdateFetcherInterface::NOT_FETCHED constant core/modules/update/src/UpdateFetcherInterface.php There was a failure fetching available update data for this project.
UpdateFetcherInterface::UNKNOWN constant core/modules/update/src/UpdateFetcherInterface.php No available update data was found for project.
UpdateFetcherTest class core/modules/update/tests/src/Unit/UpdateFetcherTest.php Tests update functionality unrelated to the database.
UpdateFetcherTest.php file core/modules/update/tests/src/Unit/UpdateFetcherTest.php
UpdateFetcherTest::$history property core/modules/update/tests/src/Unit/UpdateFetcherTest.php History of requests/responses.
UpdateFetcherTest::$logger property core/modules/update/tests/src/Unit/UpdateFetcherTest.php The logger.
UpdateFetcherTest::$mockConfigFactory property core/modules/update/tests/src/Unit/UpdateFetcherTest.php Mock config factory.
UpdateFetcherTest::$mockHttpClient property core/modules/update/tests/src/Unit/UpdateFetcherTest.php Mock HTTP client.
UpdateFetcherTest::$testProject property core/modules/update/tests/src/Unit/UpdateFetcherTest.php A test project to fetch with.
UpdateFetcherTest::$updateFetcher property core/modules/update/tests/src/Unit/UpdateFetcherTest.php The update fetcher to use.
UpdateFetcherTest::mockClient function core/modules/update/tests/src/Unit/UpdateFetcherTest.php Mocks the HTTP client.
UpdateFetcherTest::providerTestUpdateBuildFetchUrl function core/modules/update/tests/src/Unit/UpdateFetcherTest.php Provide test data for self::testUpdateBuildFetchUrl().
UpdateFetcherTest::setUp function core/modules/update/tests/src/Unit/UpdateFetcherTest.php
UpdateFetcherTest::testUpdateBuildFetchUrl function core/modules/update/tests/src/Unit/UpdateFetcherTest.php Tests that buildFetchUrl() builds the URL correctly.
UpdateFetcherTest::testUpdateFetcherHttpFallback function core/modules/update/tests/src/Unit/UpdateFetcherTest.php @covers ::doRequest
@covers ::fetchProjectData
UpdateFetcherTest::testUpdateFetcherNoFallback function core/modules/update/tests/src/Unit/UpdateFetcherTest.php @covers ::doRequest
@covers ::fetchProjectData
UpdateManager::fetchDataBatch function core/modules/update/src/UpdateManager.php
UpdateManagerInterface::fetchDataBatch function core/modules/update/src/UpdateManagerInterface.php Processes a step in batch for fetching available update data.
UpdateMiscTest::testFetchTasks function core/modules/update/tests/src/Functional/UpdateMiscTest.php Tests that exactly one fetch task per project is created and not more.
UpdateProcessor::$fetchQueue property core/modules/update/src/UpdateProcessor.php The update fetch queue.

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