Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ViewsData::prepareCid function core/modules/views/src/ViewsData.php Prepares the cache ID by appending a language code.
ViewsData::processEntityTypes function core/modules/views/src/ViewsData.php Links tables with 'entity type' to respective generic entity-type tables.
ViewsData::__construct function core/modules/views/src/ViewsData.php Constructs this ViewsData object.
ViewsData::__construct function core/modules/content_moderation/src/ViewsData.php Creates a new ViewsData instance.
ViewsDataHelper class core/modules/views/src/ViewsDataHelper.php Defines a helper class for stuff related to views data.
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 install.
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 class core/modules/views/tests/src/Kernel/ViewsDataTest.php Tests the service views.views_data.
ViewsDataTest.php file core/modules/views/tests/src/Kernel/ViewsDataTest.php
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 install.
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.

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