Search for fetch

  1. Search 7.x for fetch
  2. Search 9.5.x for fetch
  3. Search 10.3.x for fetch
  4. Search 11.x for fetch
  5. Other projects
Title Object type File name Summary
AggregatorFetcher class core/modules/aggregator/src/Annotation/AggregatorFetcher.php Defines a Plugin annotation object for aggregator fetcher plugins.
AggregatorFetcher.php file core/modules/aggregator/src/Annotation/AggregatorFetcher.php
AggregatorFetcher::$description property core/modules/aggregator/src/Annotation/AggregatorFetcher.php The description of the plugin.
AggregatorFetcher::$id property core/modules/aggregator/src/Annotation/AggregatorFetcher.php The plugin ID.
AggregatorFetcher::$title property core/modules/aggregator/src/Annotation/AggregatorFetcher.php The title of the plugin.
AggregatorPluginManagerTest::testFetcherInfoAlter function core/modules/aggregator/tests/src/Kernel/AggregatorPluginManagerTest.php Tests that the fetcher info alter hook works.
aggregator_test_aggregator_fetcher_info_alter function core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module Implements hook_aggregator_fetcher_info_alter().
ApcuFileCacheBackend::fetch function core/lib/Drupal/Component/FileCache/ApcuFileCacheBackend.php Fetches data from the cache backend.
CommentStatisticsUnitTest::$calls_to_fetch property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Counts calls to fetchAssoc().
CommentStatisticsUnitTest::fetchObjectCallback function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Return value callback for fetchObject() function on mocked object.
ConnectionUnitTest::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a query and custom prefetch method.
DefaultFetcher class core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php Defines a default fetcher implementation.
DefaultFetcher.php file core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php
DefaultFetcher::$httpClientFactory property core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php The HTTP client to fetch the feed data with.
DefaultFetcher::$logger property core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php A logger instance.
DefaultFetcher::$messenger property core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php The messenger.
DefaultFetcher::create function core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php Creates an instance of the plugin.
DefaultFetcher::fetch function core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php Downloads feed data.
DefaultFetcher::__construct function core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php Constructs a DefaultFetcher object.
DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method.
DerivativeDiscoveryDecoratorTest::testGetDerivativeFetcherWithAnnotationObjects function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with objects instead of arrays.
DerivativeDiscoveryDecoratorTest::testInvalidDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with an invalid class.
DerivativeDiscoveryDecoratorTest::testNonExistentDerivativeFetcher function core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php Tests the getDerivativeFetcher method with a non-existent class.
EmptyStatementTest::testEmptyFetchAll function core/tests/Drupal/Tests/Core/Database/EmptyStatementTest.php Tests that the empty result set mass-fetches in an expected way.
FeedFetcherPluginTest class core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php Tests the fetcher plugins functionality and discoverability.
FeedFetcherPluginTest.php file core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php
FeedFetcherPluginTest::$defaultTheme property core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php The theme to install as the default for testing.
FeedFetcherPluginTest::setUp function core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php
FeedFetcherPluginTest::testfetch function core/modules/aggregator/tests/src/Functional/FeedFetcherPluginTest.php Test fetching functionality.
FetcherInterface interface core/modules/aggregator/src/Plugin/FetcherInterface.php Defines an interface for aggregator fetcher implementations.
FetcherInterface.php file core/modules/aggregator/src/Plugin/FetcherInterface.php
FetcherInterface::fetch function core/modules/aggregator/src/Plugin/FetcherInterface.php Downloads feed data.
FetchTest class core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests the Database system's various fetch capabilities.
FetchTest.php file core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
FetchTest::testQueryFetchAllColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch all records into an array explicitly.
FetchTest::testQueryFetchArray function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchBoth function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a doubly-keyed array explicitly.
FetchTest::testQueryFetchClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchClasstype function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
The name of the class is determined from a value of the first column.
FetchTest::testQueryFetchCol function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch an entire column of a result set at once.
FetchTest::testQueryFetchDefault function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchNum function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into an indexed array explicitly.
FetchTest::testQueryFetchObject function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an object explicitly.
FetchTest::testQueryFetchObjectClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class using fetchObject.
FetchTest::testRowCount function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests that rowCount() throws exception on SELECT query.
FileCacheBackendInterface::fetch function core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php Fetches data from the cache backend.
hook_aggregator_fetcher_info_alter function core/modules/aggregator/aggregator.api.php Perform alterations on the available fetchers.
ItemsImporter::$fetcherManager property core/modules/aggregator/src/ItemsImporter.php The aggregator fetcher manager.
locale.fetch.inc file core/modules/locale/locale.fetch.inc The API for download and import of translations from remote and local sources.
locale_translation_batch_fetch_build function core/modules/locale/locale.fetch.inc Builds a batch to download and import project translations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.