Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
ViewsData::getViewsData function core/modules/content_moderation/src/ViewsData.php Returns the views data.
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
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 Tests Drupal\views\ViewsDataHelper.
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 Tests Drupal\views\ViewsData.
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::$field property core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php The field data.
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 Provides data to testGetEmptyKey().
ViewsDataTest::setUp function core/modules/views/tests/src/Unit/ViewsDataTest.php
ViewsDataTest::setUp function core/modules/options/tests/src/Kernel/Views/ViewsDataTest.php
ViewsDataTest::setUpMockCacheBackend function core/modules/views/tests/src/Unit/ViewsDataTest.php Reinitializes the cache backend as a mock object.
ViewsDataTest::setUpMockModuleHandler function core/modules/views/tests/src/Unit/ViewsDataTest.php Reinitializes the module handler as a mock object.
ViewsDataTest::setUpMockModuleHandlerWithExpectation function core/modules/views/tests/src/Unit/ViewsDataTest.php Reinitializes the module handler as a mock object with an expectation.
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::testClearResetsFullyLoaded function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests that clear() resets the fullyLoaded property.
ViewsDataTest::testConcurrentFiberAccess function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests that concurrent fibers retrieving views data cache entries correctly.

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