UpdateDataSubscriber::clearData |
function |
core/modules/package_manager/src/EventSubscriber/UpdateDataSubscriber.php |
Clears stale update data. |
UpdateDataSubscriber::getSubscribedEvents |
function |
core/modules/package_manager/src/EventSubscriber/UpdateDataSubscriber.php |
|
UpdateDataSubscriber::__construct |
function |
core/modules/package_manager/src/EventSubscriber/UpdateDataSubscriber.php |
|
UpdateDeleteFileIfStaleTest |
class |
core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php |
Tests the update_delete_file_if_stale() function. |
UpdateDeleteFileIfStaleTest.php |
file |
core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php |
|
UpdateDeleteFileIfStaleTest::$modules |
property |
core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php |
Modules to install. |
UpdateDeleteFileIfStaleTest::testUpdateDeleteFileIfStale |
function |
core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php |
Tests the deletion of stale files. |
UpdateDescriptionTest |
class |
core/tests/Drupal/KernelTests/Core/Extension/UpdateDescriptionTest.php |
Tests for update descriptions. |
UpdateDescriptionTest.php |
file |
core/tests/Drupal/KernelTests/Core/Extension/UpdateDescriptionTest.php |
|
UpdateDescriptionTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Extension/UpdateDescriptionTest.php |
Modules to install. |
UpdateDescriptionTest::testUpdateGetUpdateList |
function |
core/tests/Drupal/KernelTests/Core/Extension/UpdateDescriptionTest.php |
Tests the list of pending database updates. |
updated_module.module |
file |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.module |
Contains global functions for testing updates to a .module file. |
updated_module.module |
file |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.0.0/updated_module.module |
Contains global functions for testing updates to a .module file. |
updated_module.post_apply_subscriber |
service |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.services.yml |
Drupal\updated_module\PostApplySubscriber |
updated_module.services.yml |
file |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.services.yml |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.services.yml |
updated_module_hello |
function |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.module |
Page controller that says hello. |
updated_module_hello |
function |
core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.0.0/updated_module.module |
Page controller that says hello. |
UpdateException |
class |
core/lib/Drupal/Core/Utility/UpdateException.php |
Exception class used to throw error if a module update fails. |
UpdateException.php |
file |
core/lib/Drupal/Core/Utility/UpdateException.php |
|
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(). |