function UpdateFetcherInterface::fetchProjectData
Same name in other branches
- 9 core/modules/update/src/UpdateFetcherInterface.php \Drupal\update\UpdateFetcherInterface::fetchProjectData()
- 10 core/modules/update/src/UpdateFetcherInterface.php \Drupal\update\UpdateFetcherInterface::fetchProjectData()
- 11.x core/modules/update/src/UpdateFetcherInterface.php \Drupal\update\UpdateFetcherInterface::fetchProjectData()
Retrieves the project information.
Parameters
array $project: The array of project information from \Drupal\update\UpdateManager::getProjects().
string $site_key: (optional) The anonymous site key hash. Defaults to an empty string.
Return value
string The project information fetched as string. Empty string upon failure.
1 method overrides UpdateFetcherInterface::fetchProjectData()
- UpdateFetcher::fetchProjectData in core/
modules/ update/ src/ UpdateFetcher.php - Retrieves the project information.
File
-
core/
modules/ update/ src/ UpdateFetcherInterface.php, line 56
Class
- UpdateFetcherInterface
- Fetches project information from remote locations.
Namespace
Drupal\updateCode
public function fetchProjectData(array $project, $site_key = '');
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.