Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ViewsDataHelper.php file core/modules/views/src/ViewsDataHelper.php
ViewsDataHelper::$data property core/modules/views/src/ViewsDataHelper.php The views data object, containing the cached information.
ViewsDataHelper::$fields property core/modules/views/src/ViewsDataHelper.php A prepared list of all fields, keyed by base_table and handler type.
ViewsDataHelper::fetchedFieldSort function core/modules/views/src/ViewsDataHelper.php Sort function for fetched fields.
ViewsDataHelper::fetchFields function core/modules/views/src/ViewsDataHelper.php Fetches a list of all fields available for a given base type.
ViewsDataHelper::__construct function core/modules/views/src/ViewsDataHelper.php Constructs a ViewsData object.
ViewsDataHelperTest class core/modules/views/tests/src/Unit/ViewsDataHelperTest.php @coversDefaultClass \Drupal\views\ViewsDataHelper[[api-linebreak]]
@group views
ViewsDataHelperTest.php file core/modules/views/tests/src/Unit/ViewsDataHelperTest.php
ViewsDataHelperTest::testFetchFields function core/modules/views/tests/src/Unit/ViewsDataHelperTest.php Tests fetchFields.
ViewsDataHelperTest::viewsData function core/modules/views/tests/src/Unit/ViewsDataHelperTest.php Returns the views data definition.
ViewsDataIntegrationTest class core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php Tests the views integration of content_moderation.
ViewsDataIntegrationTest.php file core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php
ViewsDataIntegrationTest::$modules property core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php Modules to enable.
ViewsDataIntegrationTest::setUp function core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php
ViewsDataIntegrationTest::testContentModerationStateField function core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php Tests the content moderation state views field.
ViewsDataTest class core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php Test to ensure views data is properly created for the Options module.
ViewsDataTest class core/modules/views/tests/src/Unit/ViewsDataTest.php @coversDefaultClass \Drupal\views\ViewsData[[api-linebreak]]
@group views
ViewsDataTest.php file core/modules/views/tests/src/Unit/ViewsDataTest.php
ViewsDataTest.php file core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
ViewsDataTest::$cacheBackend property core/modules/views/tests/src/Unit/ViewsDataTest.php The mocked cache backend.
ViewsDataTest::$cacheTagsInvalidator property core/modules/views/tests/src/Unit/ViewsDataTest.php The mocked cache tags invalidator.
ViewsDataTest::$configFactory property core/modules/views/tests/src/Unit/ViewsDataTest.php The mocked config factory.
ViewsDataTest::$field property core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
ViewsDataTest::$fieldStorage property core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php The field storage.
ViewsDataTest::$languageManager property core/modules/views/tests/src/Unit/ViewsDataTest.php The mocked language manager.
ViewsDataTest::$moduleHandler property core/modules/views/tests/src/Unit/ViewsDataTest.php The mocked module handler.
ViewsDataTest::$modules property core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php Modules to enable.
ViewsDataTest::$viewsData property core/modules/views/tests/src/Unit/ViewsDataTest.php The tested views data class.
ViewsDataTest::providerTestGetEmptyKey function core/modules/views/tests/src/Unit/ViewsDataTest.php
ViewsDataTest::setUp function core/modules/views/tests/src/Unit/ViewsDataTest.php
ViewsDataTest::setUp function core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
ViewsDataTest::setupMockedModuleHandler function core/modules/views/tests/src/Unit/ViewsDataTest.php Mocks the basic module handler used for the test.
ViewsDataTest::testCacheCallsWithoutWarmCacheAndGetAllTables function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for all views data without a warm cache.
ViewsDataTest::testCacheCallsWithoutWarmCacheAndGetMultipleTables function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for multiple tables without warm caches.
ViewsDataTest::testCacheCallsWithSameTableMultipleTimes function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache backend behavior with requesting the same table multiple.
ViewsDataTest::testCacheCallsWithSameTableMultipleTimesAndWarmCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for a single table and warm cache.
ViewsDataTest::testCacheCallsWithWarmCacheAndDifferentTable function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for a different table than the one in cache.
ViewsDataTest::testCacheCallsWithWarmCacheAndGetAllTables function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for all views data.
ViewsDataTest::testCacheCallsWithWarmCacheAndInvalidTable function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for a non-existent table.
ViewsDataTest::testCacheCallsWithWarmCacheForInvalidTable function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache calls for a non-existent table.
ViewsDataTest::testFetchBaseTables function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the fetchBaseTables() method.
ViewsDataTest::testFullAndTableGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache of the full and single table data.
ViewsDataTest::testFullGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the caching of the full views data.
ViewsDataTest::testGetEmptyKey function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests that getting data with an empty key throws an exception.
ViewsDataTest::testGetOnFirstCall function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests fetching all the views data without a static cache.
ViewsDataTest::testNonExistingTableGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests building the views data with a non existing table.
ViewsDataTest::testOptionsFieldViewsData function core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php Tests the option module's implementation of hook_field_views_data().
ViewsDataTest::testSingleTableGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the caching of the views data for a specific table.
ViewsDataTest::viewsData function core/modules/views/tests/src/Unit/ViewsDataTest.php Returns the views data definition.
ViewsDataTest::viewsDataWithProvider function core/modules/views/tests/src/Unit/ViewsDataTest.php Returns the views data definition with the provider key.

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