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
ViewsTest.php file core/modules/views/tests/src/Unit/ViewsTest.php
ViewsTest::$container property core/modules/views/tests/src/Unit/ViewsTest.php The test container.
ViewsTest::providerTestGetApplicableViews function core/modules/views/tests/src/Unit/ViewsTest.php Data provider for testGetApplicableViews.
ViewsTest::setUp function core/modules/views/tests/src/Unit/ViewsTest.php
ViewsTest::testGetApplicableViews function core/modules/views/tests/src/Unit/ViewsTest.php @covers ::getApplicableViews[[api-linebreak]]
ViewsTest::testGetNonExistentView function core/modules/views/tests/src/Unit/ViewsTest.php Tests the getView() method against a non-existent view.
ViewsTest::testGetView function core/modules/views/tests/src/Unit/ViewsTest.php Tests the getView() method.
ViewsTestCacheContext class core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Test cache context which uses a dynamic context coming from state.
ViewsTestCacheContext.php file core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php
ViewsTestCacheContext::getCacheableMetadata function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Gets the cacheability metadata for the context.
ViewsTestCacheContext::getContext function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Returns the string representation of the cache context.
ViewsTestCacheContext::getLabel function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Returns the label of the cache context.
ViewsTestCacheContextFilter class core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php Plugin annotation
@ViewsFilter("views_test_test_cache_context");
ViewsTestCacheContextFilter.php file core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php
ViewsTestCacheContextFilter::getCacheContexts function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php The cache contexts associated with this object.
ViewsTestCacheContextFilter::query function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php Add this filter to the query.
ViewsTestDataController class core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php Controller class for views_test_data callbacks.
ViewsTestDataController.php file core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php
ViewsTestDataController::errorFormPage function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php Renders an error form page.
ViewsTestDataController::placeholderLazyBuilder function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php #lazy_builder callback; for testing purposes only.
ViewsTestDataController::preRender function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php Tests pre_render function.
ViewsTestDataController::trustedCallbacks function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestDataController.php Lists the trusted callbacks provided by the implementing class.
ViewsTestDataElementEmbedForm class core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php Simple form page callback to test the view element.
ViewsTestDataElementEmbedForm.php file core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php
ViewsTestDataElementEmbedForm::buildForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php Form constructor.
ViewsTestDataElementEmbedForm::getFormId function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php Returns a unique string identifying the form.
ViewsTestDataElementEmbedForm::submitForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php Form submission handler.
ViewsTestDataElementForm class core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php Simple form page callback to test the view element.
ViewsTestDataElementForm.php file core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php
ViewsTestDataElementForm::buildForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php Form constructor.
ViewsTestDataElementForm::getFormId function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php Returns a unique string identifying the form.
ViewsTestDataElementForm::submitForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php Form submission handler.
ViewsTestDataErrorForm class core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php Implements a test form that has a validation error.
ViewsTestDataErrorForm.php file core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php
ViewsTestDataErrorForm::buildForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php Form constructor.
ViewsTestDataErrorForm::getFormId function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php Returns a unique string identifying the form.
ViewsTestDataErrorForm::submitForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php Form submission handler.
ViewsTestDataErrorForm::validateForm function core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataErrorForm.php Form validation handler.
ViewsTestEntity class core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Generic entity class for our test entity types.
ViewsTestEntity::$mockedBaseFieldDefinitions property core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php The mocked base fields for test entity types.
ViewsTestEntity::baseFieldDefinitions function core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Provides base field definitions for an entity type.
ViewsTestEntity::setMockedBaseFieldDefinitions function core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Sets up the mocked base field definitions.
ViewsTestFormMultipleController class core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestFormMultipleController.php Controller routines for views form multiple test routes.
ViewsTestFormMultipleController.php file core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestFormMultipleController.php
ViewsTestFormMultipleController::testPage function core/modules/views/tests/modules/views_test_data/src/Controller/ViewsTestFormMultipleController.php Returns a test page having test_form_multiple view embedded twice.
ViewsTestRenderCacheController class core/modules/views/tests/modules/views_test_render_cache/src/Controller/ViewsTestRenderCacheController.php Provides route responses.
ViewsTestRenderCacheController.php file core/modules/views/tests/modules/views_test_render_cache/src/Controller/ViewsTestRenderCacheController.php
ViewsTestRenderCacheController::double function core/modules/views/tests/modules/views_test_render_cache/src/Controller/ViewsTestRenderCacheController.php Returns the same block rendered twice with different arguments.
ViewsThemeIntegrationTest class core/modules/views/tests/src/Functional/ViewsThemeIntegrationTest.php Tests the Views theme integration.
ViewsThemeIntegrationTest.php file core/modules/views/tests/src/Functional/ViewsThemeIntegrationTest.php

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