| UpdateFetcher::fetchProjectData |
function |
core/modules/update/src/UpdateFetcher.php |
Retrieves the project information. |
| UpdateFetcher::getFetchBaseUrl |
function |
core/modules/update/src/UpdateFetcher.php |
Returns the base of the URL to fetch available update data for a project. |
| 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 |
Tests update fetcher http fallback. |
| UpdateFetcherTest::testUpdateFetcherNoFallback |
function |
core/modules/update/tests/src/Unit/UpdateFetcherTest.php |
Tests update fetcher no fallback. |
| UpdateHookRegistry |
class |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Provides module updates versions handling. |
| UpdateHookRegistry.php |
file |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
|
| UpdateHookRegistry::$allAvailableSchemaVersions |
property |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
A static cache of schema currentVersions per module. |
| UpdateHookRegistry::$enabledModules |
property |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
A list of enabled modules. |
| UpdateHookRegistry::$equivalentUpdates |
property |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
The core.equivalent_updates key value storage. |
| UpdateHookRegistry::$keyValue |
property |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
The system.schema key value storage. |
| UpdateHookRegistry::deleteEquivalentUpdate |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Removes an equivalent update. |
| UpdateHookRegistry::deleteInstalledVersion |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Deletes the installed version information for the module. |
| UpdateHookRegistry::determineModuleAndVersion |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Determines the module and update number from the stack trace. |
| UpdateHookRegistry::FUNC_NAME_REGEXP |
constant |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Regular expression to match all possible defined hook_update_N(). |
| UpdateHookRegistry::getAllEquivalentUpdates |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Returns the equivalent update information for all modules. |
| UpdateHookRegistry::getAllInstalledVersions |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Returns the currently installed schema version for all modules. |
| UpdateHookRegistry::getAvailableUpdates |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Returns an array of available schema versions for a module. |
| UpdateHookRegistry::getEquivalentUpdate |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Gets the EquivalentUpdate object for an update. |
| UpdateHookRegistry::getInstalledVersion |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Returns the currently installed schema version for a module. |
| UpdateHookRegistry::markFutureUpdateEquivalent |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Marks a future update as equivalent to the current update running. |
| UpdateHookRegistry::SCHEMA_UNINSTALLED |
constant |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Indicates that a module has not been installed yet. |
| UpdateHookRegistry::setInstalledVersion |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Updates the installed version information for a module. |
| UpdateHookRegistry::__construct |
function |
core/lib/Drupal/Core/Update/UpdateHookRegistry.php |
Constructs a new UpdateHookRegistry. |
| UpdateHookRegistryTest |
class |
core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php |
Tests Drupal\Core\Update\UpdateHookRegistry. |
| UpdateHookRegistryTest.php |
file |
core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php |
|
| UpdateHookRegistryTest::$equivalentUpdatesStore |
property |
core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php |
|
| UpdateHookRegistryTest::$keyValueFactory |
property |
core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php |
|