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. Other projects
Title Object type File name Summary
AdminAccountSwitcher class core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php @internal
This API is experimental.
AdminAccountSwitcher.php file core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php
AdminAccountSwitcher::switchBack function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php Reverts to a previous account after switching.
AdminAccountSwitcher::switchTo function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php Safely switches to another account.
AdminAccountSwitcher::switchToAdministrator function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php Switches to an administrative account.
AdminAccountSwitcher::__construct function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php
AdminAccountSwitcherTest class core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php @covers \Drupal\Core\DefaultContent\AdminAccountSwitcher
@group DefaultContent
AdminAccountSwitcherTest.php file core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::$modules property core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Modules to install.
AdminAccountSwitcherTest::register function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Registers test-specific services.
AdminAccountSwitcherTest::setUp function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::testNoAdministratorsExist function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests that there is an error if there are no administrative users.
AdminAccountSwitcherTest::testSuperUser function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests switching to user 1 when the superuser access policy is enabled.
AdminAccountSwitcherTest::testSwitchToAdministrator function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests switching to a user with an administrative role.
AdminAccountSwitcherTest::testSwitchToAndSwitchBack function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAjaxTest class core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php Tests the admin UI AJAX interactions.
AdminAjaxTest.php file core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php
AdminAjaxTest::$defaultTheme property core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php The theme to install as the default for testing.
AdminAjaxTest::$modules property core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php Modules to install.
AdminAjaxTest::setUp function core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php
AdminAjaxTest::testAjaxRebuild function core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php Confirms that form_alter is triggered after AJAX rebuilds.
AdminAjaxTest::testBodyScroll function core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php Tests body scroll.
AdminContext class core/lib/Drupal/Core/Routing/AdminContext.php Provides a helper class to determine whether the route is an admin one.
AdminContext.php file core/lib/Drupal/Core/Routing/AdminContext.php
AdminContext::$routeMatch property core/lib/Drupal/Core/Routing/AdminContext.php The route match.
AdminContext::isAdminRoute function core/lib/Drupal/Core/Routing/AdminContext.php Determines whether the active route is an admin one.
AdminContext::__construct function core/lib/Drupal/Core/Routing/AdminContext.php Construct a new admin context helper instance.
AdminController class core/modules/system/src/Controller/AdminController.php Controller for admin section.
AdminController.php file core/modules/system/src/Controller/AdminController.php
AdminController::index function core/modules/system/src/Controller/AdminController.php Prints a listing of admin tasks, organized by module.
AdminController::__construct function core/modules/system/src/Controller/AdminController.php AdminController constructor.
AdminDemoNegotiator class core/modules/block/src/Theme/AdminDemoNegotiator.php Negotiates the theme for the block admin demo page via the URL.
AdminDemoNegotiator.php file core/modules/block/src/Theme/AdminDemoNegotiator.php
AdminDemoNegotiator::applies function core/modules/block/src/Theme/AdminDemoNegotiator.php Whether this theme negotiator should be used to set the theme.
AdminDemoNegotiator::determineActiveTheme function core/modules/block/src/Theme/AdminDemoNegotiator.php Determine the active theme for the request.
AdminHtmlRouteProvider class core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Provides HTML routes for entities with administrative add/edit/delete pages.
AdminHtmlRouteProvider.php file core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php
AdminHtmlRouteProvider::getAddFormRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Gets the add-form route.
AdminHtmlRouteProvider::getAddPageRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Gets the add page route.
AdminHtmlRouteProvider::getDeleteFormRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Gets the delete-form route.
AdminHtmlRouteProvider::getDeleteMultipleFormRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Returns the delete multiple form route.
AdminHtmlRouteProvider::getEditFormRoute function core/lib/Drupal/Core/Entity/Routing/AdminHtmlRouteProvider.php Gets the edit-form route.
AdminMetaTagTest class core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php Confirm that the fingerprinting meta tag appears as expected.
AdminMetaTagTest.php file core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php
AdminMetaTagTest::$defaultTheme property core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php The theme to install as the default for testing.
AdminMetaTagTest::testMetaTag function core/modules/system/tests/src/Functional/System/AdminMetaTagTest.php Verify that the meta tag HTML is generated correctly.
AdminNegotiator class core/modules/user/src/Theme/AdminNegotiator.php Sets the active theme on admin pages.
AdminNegotiator.php file core/modules/user/src/Theme/AdminNegotiator.php
AdminNegotiator::$adminContext property core/modules/user/src/Theme/AdminNegotiator.php The route admin context to determine whether a route is an admin one.
AdminNegotiator::$configFactory property core/modules/user/src/Theme/AdminNegotiator.php The config factory.

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