Fetches project information from remote locations.
Hierarchy
- class \Drupal\update\UpdateFetcher implements UpdateFetcherInterface uses DependencySerializationTrait
File
- core/modules/update/src/UpdateFetcher.php, line 13
Namespace
Drupal\update
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DependencySerializationTrait::$_serviceIds | protected | property | An array of service IDs keyed by property name used for serialization. |
DependencySerializationTrait::__sleep | public | function | |
DependencySerializationTrait::__wakeup | public | function | |
UpdateFetcher::$fetchUrl | protected | property | The fetch url configured in the update settings. |
UpdateFetcher::$httpClient | protected | property | The HTTP client to fetch the feed data with. |
UpdateFetcher::$updateSettings | protected | property | The update settings |
UpdateFetcher::buildFetchUrl | public | function | Generates the URL to fetch information about project updates. Overrides UpdateFetcherInterface::buildFetchUrl |
UpdateFetcher::fetchProjectData | public | function | Retrieves the project information. Overrides UpdateFetcherInterface::fetchProjectData |
UpdateFetcher::getFetchBaseUrl | public | function | Returns the base of the URL to fetch available update data for a project. Overrides UpdateFetcherInterface::getFetchBaseUrl |
UpdateFetcher::UPDATE_DEFAULT_URL | constant | URL to check for updates, if a given project doesn't define its own. | |
UpdateFetcher::__construct | public | function | Constructs a UpdateFetcher. |
Please login to continue.