Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UpdateFetcherInterface.php

function 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.

File

core/modules/update/src/UpdateFetcherInterface.php, line 56

Class

UpdateFetcherInterface
Fetches project information from remote locations.

Namespace

Drupal\update

Code

public function fetchProjectData(array $project, $site_key = '');

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal