Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ViewsData::$moduleHandler property core/modules/views/src/ViewsData.php Stores a module manager to invoke hooks.
ViewsData::$skipCache property core/modules/views/src/ViewsData.php Whether or not to skip data caching and rebuild data each time.
ViewsData::$storage property core/modules/views/src/ViewsData.php Table data storage.
ViewsData::cacheGet function core/modules/views/src/ViewsData.php Gets data from the cache backend.
ViewsData::cacheSet function core/modules/views/src/ViewsData.php Sets data to the cache backend.
ViewsData::clear function core/modules/views/src/ViewsData.php Clears the class storage and cache.
ViewsData::fetchBaseTables function core/modules/views/src/ViewsData.php Fetches a list of all base tables available.
ViewsData::get function core/modules/views/src/ViewsData.php Gets data for a particular table.
ViewsData::getAll function core/modules/views/src/ViewsData.php Gets all table data.
ViewsData::getData function core/modules/views/src/ViewsData.php Gets all data invoked by hook_views_data().
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 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 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.

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