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
View::isInstallable function core/modules/views/src/Entity/View.php Checks whether this entity is installable.
View::label function core/modules/views/src/Entity/View.php Gets the label of the entity.
View::mergeDefaultDisplaysOptions function core/modules/views/src/Entity/View.php Add defaults to the display options.
View::onDependencyRemoval function core/modules/views/src/Entity/View.php Informs the entity that entities it depends on will be deleted.
View::postCreate function core/modules/views/src/Entity/View.php Acts on a created entity before hooks are invoked.
View::postDelete function core/modules/views/src/Entity/View.php Acts on deleted entities before the delete hook is invoked.
View::postLoad function core/modules/views/src/Entity/View.php Acts on loaded entities.
View::postSave function core/modules/views/src/Entity/View.php Acts on a saved entity before the insert or update hook is invoked.
View::preCreate function core/modules/views/src/Entity/View.php Changes the values of an entity before it is created.
View::preDelete function core/modules/views/src/Entity/View.php Acts on entities before they are deleted and before hooks are invoked.
View::preRenderViewElement function core/modules/views/src/Element/View.php View element pre render callback.
View::preSave function core/modules/views/src/Entity/View.php Acts on an entity before the presave hook is invoked.
View::render function core/modules/views/src/Plugin/views/area/View.php Render the area.
View::__construct function core/modules/views/src/Plugin/views/area/View.php Constructs a View object.
View::__sleep function core/modules/views/src/Entity/View.php
ViewAddForm class core/modules/views_ui/src/ViewAddForm.php Form controller for the Views add form.
ViewAddForm.php file core/modules/views_ui/src/ViewAddForm.php
ViewAddForm::$wizardManager property core/modules/views_ui/src/ViewAddForm.php The wizard plugin manager.
ViewAddForm::actions function core/modules/views_ui/src/ViewAddForm.php Returns an array of supported actions for the current entity form.
ViewAddForm::cancel function core/modules/views_ui/src/ViewAddForm.php Form submission handler for the 'cancel' action.
ViewAddForm::create function core/modules/views_ui/src/ViewAddForm.php Instantiates a new instance of this class.
ViewAddForm::form function core/modules/views_ui/src/ViewAddForm.php Gets the actual form array to be built.
ViewAddForm::prepareEntity function core/modules/views_ui/src/ViewAddForm.php Prepares the entity object before the form is built first.
ViewAddForm::submitForm function core/modules/views_ui/src/ViewAddForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
ViewAddForm::validateForm function core/modules/views_ui/src/ViewAddForm.php Form validation handler.
ViewAddForm::__construct function core/modules/views_ui/src/ViewAddForm.php Constructs a new ViewAddForm object.
ViewAjaxController class core/modules/views/src/Controller/ViewAjaxController.php Defines a controller to load a view via AJAX.
ViewAjaxController.php file core/modules/views/src/Controller/ViewAjaxController.php
ViewAjaxController::$currentPath property core/modules/views/src/Controller/ViewAjaxController.php The current path.
ViewAjaxController::$executableFactory property core/modules/views/src/Controller/ViewAjaxController.php The factory to load a view executable with.
ViewAjaxController::$redirectDestination property core/modules/views/src/Controller/ViewAjaxController.php The redirect destination.
ViewAjaxController::$renderer property core/modules/views/src/Controller/ViewAjaxController.php The renderer.
ViewAjaxController::$storage property core/modules/views/src/Controller/ViewAjaxController.php The entity storage for views.
ViewAjaxController::ajaxView function core/modules/views/src/Controller/ViewAjaxController.php Loads and renders a view via AJAX.
ViewAjaxController::create function core/modules/views/src/Controller/ViewAjaxController.php Instantiates a new instance of this class.
ViewAjaxController::__construct function core/modules/views/src/Controller/ViewAjaxController.php Constructs a ViewAjaxController object.
ViewAjaxControllerTest class core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php @coversDefaultClass \Drupal\views\Controller\ViewAjaxController[[api-linebreak]]
@group views
ViewAjaxControllerTest.php file core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php
ViewAjaxControllerTest::$currentPath property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The mocked current path.
ViewAjaxControllerTest::$executableFactory property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The mocked executable factory.
ViewAjaxControllerTest::$redirectDestination property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The redirect destination.
ViewAjaxControllerTest::$renderer property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The renderer.
ViewAjaxControllerTest::$viewAjaxController property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The tested views ajax controller.
ViewAjaxControllerTest::$viewStorage property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The mocked view entity storage.
ViewAjaxControllerTest::assertViewResultCommand function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Ensures that the main view content command is added.
ViewAjaxControllerTest::getCommands function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Gets the commands entry from the response object.
ViewAjaxControllerTest::setUp function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php
ViewAjaxControllerTest::setupValidMocks function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Sets up a bunch of valid mocks like the view entity and executable.
ViewAjaxControllerTest::testAccessDeniedView function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Tests a view without having access to it.
ViewAjaxControllerTest::testAjaxView function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Tests a valid view without arguments pagers etc.

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