Search for fetch
- Search 7.x for fetch
- Search 9.5.x for fetch
- Search 8.9.x for fetch
- Search 10.3.x for fetch
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceFetcherTest | class | core/ |
Tests the oEmbed resource fetcher service. |
ResourceFetcherTest.php | file | core/ |
|
ResourceFetcherTest.php | file | core/ |
|
ResourceFetcherTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
ResourceFetcherTest::providerFetchResource | function | core/ |
Data provider for testFetchResource(). |
ResourceFetcherTest::setUp | function | core/ |
|
ResourceFetcherTest::testFetchResource | function | core/ |
Tests resource fetching. |
ResourceFetcherTest::testFetchTimeout | function | core/ |
Tests that resources are fetched with a hard-coded timeout. |
ResourceFetcherTest::testUnknownContentTypeHeader | function | core/ |
Tests how the resource fetcher handles unknown Content-Type headers. |
SecurityAdvisoriesFetcher | class | core/ |
Defines a service to get security advisories. |
SecurityAdvisoriesFetcher.php | file | core/ |
|
SecurityAdvisoriesFetcher::$config | property | core/ |
The 'system.advisories' configuration. |
SecurityAdvisoriesFetcher::$extensionLists | property | core/ |
Array of extension lists, keyed by extension type. |
SecurityAdvisoriesFetcher::$httpClient | property | core/ |
The HTTP client. |
SecurityAdvisoriesFetcher::$keyValueExpirable | property | core/ |
The expirable key/value store for the advisories JSON response. |
SecurityAdvisoriesFetcher::$logger | property | core/ |
The logger. |
SecurityAdvisoriesFetcher::$withHttpFallback | property | core/ |
Whether to fall back to HTTP if the HTTPS request fails. |
SecurityAdvisoriesFetcher::ADVISORIES_JSON_EXPIRABLE_KEY | constant | core/ |
The key to use to store the advisories feed response. |
SecurityAdvisoriesFetcher::deleteStoredResponse | function | core/ |
Deletes the stored JSON feed response, if any. |
SecurityAdvisoriesFetcher::doRequest | function | core/ |
Makes an HTTPS GET request, with a possible HTTP fallback. |
SecurityAdvisoriesFetcher::getMatchingExtensionInfo | function | core/ |
Gets the information for an extension affected by the security advisory. |
SecurityAdvisoriesFetcher::getProjectExistingVersion | function | core/ |
Gets the existing project version. |
SecurityAdvisoriesFetcher::getSecurityAdvisories | function | core/ |
Gets security advisories that are applicable for the current site. |
SecurityAdvisoriesFetcher::isApplicable | function | core/ |
Determines if a security advisory is applicable for the current site. |
SecurityAdvisoriesFetcher::matchesExistingVersion | function | core/ |
Determines if an advisory matches the existing version of a project. |
SecurityAdvisoriesFetcher::__construct | function | core/ |
Constructs a new SecurityAdvisoriesFetcher object. |
SecurityAdvisoriesFetcherTest | class | core/ |
@coversDefaultClass \Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher |
SecurityAdvisoriesFetcherTest.php | file | core/ |
|
SecurityAdvisoriesFetcherTest::$errorMessages | property | core/ |
The error messages. |
SecurityAdvisoriesFetcherTest::$history | property | core/ |
History of requests/responses. |
SecurityAdvisoriesFetcherTest::$logErrorMessages | property | core/ |
The log error log messages. |
SecurityAdvisoriesFetcherTest::$modules | property | core/ |
Modules to install. |
SecurityAdvisoriesFetcherTest::assertServiceAdvisoryLoggedErrors | function | core/ |
Asserts the expected error messages were logged. |
SecurityAdvisoriesFetcherTest::getAdvisories | function | core/ |
Gets the advisories from the 'system.sa_fetcher' service. |
SecurityAdvisoriesFetcherTest::log | function | core/ |
|
SecurityAdvisoriesFetcherTest::providerIgnoreAdvisories | function | core/ |
Data provider for testIgnoreAdvisories(). |
SecurityAdvisoriesFetcherTest::providerShowAdvisories | function | core/ |
Data provider for testShowAdvisories(). |
SecurityAdvisoriesFetcherTest::setExistingProjectVersion | function | core/ |
Sets the existing version of the project. |
SecurityAdvisoriesFetcherTest::setFeedItems | function | core/ |
Sets the feed items to be returned for the test. |
SecurityAdvisoriesFetcherTest::setTestFeedResponses | function | core/ |
Sets test feed responses. |
SecurityAdvisoriesFetcherTest::setUp | function | core/ |
|
SecurityAdvisoriesFetcherTest::testHttpFallback | function | core/ |
@covers ::doRequest @covers ::getSecurityAdvisories |
SecurityAdvisoriesFetcherTest::testIgnoreAdvisories | function | core/ |
Tests advisories that should be ignored. |
SecurityAdvisoriesFetcherTest::testIntervalConfigUpdate | function | core/ |
Tests that the stored advisories response is deleted on interval decrease. |
SecurityAdvisoriesFetcherTest::testInvalidJsonResponse | function | core/ |
Tests that invalid JSON feed responses are not stored. |
SecurityAdvisoriesFetcherTest::testNoHttpFallback | function | core/ |
@covers ::doRequest @covers ::getSecurityAdvisories |
SecurityAdvisoriesFetcherTest::testShowAdvisories | function | core/ |
Tests contrib advisories that should be displayed. |
SourcePluginBase::fetchNextRow | function | core/ |
Position the iterator to the following row. |
SqlBase::fetchNextBatch | function | core/ |
Prepares query for the next set of data from the source database. |
SqlBase::fetchNextRow | function | core/ |
Position the iterator to the following row. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.