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
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.
UpdateProcessor::$fetchTasks property core/modules/update/src/UpdateProcessor.php The queue for fetching release history data.
UpdateProcessor::$fetchTaskStore property core/modules/update/src/UpdateProcessor.php Update Fetch Task Store.
UpdateProcessor::$updateFetcher property core/modules/update/src/UpdateProcessor.php The UpdateFetcher service.
UpdateProcessor::createFetchTask function core/modules/update/src/UpdateProcessor.php
UpdateProcessor::fetchData function core/modules/update/src/UpdateProcessor.php
UpdateProcessor::processFetchTask function core/modules/update/src/UpdateProcessor.php
UpdateProcessorInterface::createFetchTask function core/modules/update/src/UpdateProcessorInterface.php Adds a task to the queue for fetching release history data for a project.
UpdateProcessorInterface::fetchData function core/modules/update/src/UpdateProcessorInterface.php Attempts to drain the queue of tasks for release history data to fetch.
UpdateProcessorInterface::processFetchTask function core/modules/update/src/UpdateProcessorInterface.php Processes a task to fetch available update data for a single project.
UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageNoDblog function core/modules/update/tests/src/Kernel/UpdateReportTest.php Tests the error message when failing to fetch data without dblog installed.
UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog function core/modules/update/tests/src/Kernel/UpdateReportTest.php Tests the error message when failing to fetch data with dblog installed.
UpdateSemverCoreTest::testFetchTasks function core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php Tests that exactly one fetch task per project is created and not more.
UpdateSettingsDefaultFetchUrlUpdateTest class core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php Tests update of update.settings:fetch.url if it's still the default of "".
UpdateSettingsDefaultFetchUrlUpdateTest.php file core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php
UpdateSettingsDefaultFetchUrlUpdateTest::$defaultTheme property core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php The theme to install as the default for testing.
UpdateSettingsDefaultFetchUrlUpdateTest::setDatabaseDumpFiles function core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php Set database dump files to be used.
UpdateSettingsDefaultFetchUrlUpdateTest::setUp function core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php
UpdateSettingsDefaultFetchUrlUpdateTest::testUpdate function core/modules/update/tests/src/Functional/Update/UpdateSettingsDefaultFetchUrlUpdateTest.php Tests update of update.settings:fetch.url.

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