Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| MenuAccessControlHandler::$viewLabelOperation | property | core/ |
Allows to grant access to just the labels. |
| MenuAccessControlHandler::checkAccess | function | core/ |
Performs access checks. |
| MenuAccessControlHandlerTest | class | core/ |
Tests Drupal\system\MenuAccessControlHandler. |
| MenuAccessControlHandlerTest.php | file | core/ |
|
| MenuAccessControlHandlerTest::$accessControlHandler | property | core/ |
The menu access control handler. |
| MenuAccessControlHandlerTest::$modules | property | core/ |
Modules to install. |
| MenuAccessControlHandlerTest::providerTestAccess | function | core/ |
Provides test cases for menu access control based on user permissions and menu lock status. |
| MenuAccessControlHandlerTest::setUp | function | core/ |
|
| MenuAccessControlHandlerTest::testAccess | function | core/ |
Tests access. |
| MenuAccessTest | class | core/ |
Tests the route access checks on menu links. |
| MenuAccessTest.php | file | core/ |
|
| MenuAccessTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MenuAccessTest::$modules | property | core/ |
Modules to install. |
| MenuAccessTest::assertMenuItemRoutesAccess | function | core/ |
Asserts route requests connected to menu items have the expected access. |
| MenuAccessTest::assertUserRoutesAccess | function | core/ |
Asserts which routes a user has access to. |
| MenuAccessTest::drupalGet | function | core/ |
Retrieves a Drupal path or an absolute path. |
| MenuAccessTest::setUp | function | core/ |
|
| MenuAccessTest::testMenuBlockLinksAccessCheck | function | core/ |
Tests menu link for route with access check. |
| MenuAccessTest::testSystemAdminMenuBlockAccessCheck | function | core/ |
Test routes implementing _access_admin_menu_block_page. |
| MenuActiveTrail403Test | class | core/ |
Tests that 403 active trail behavior does not overwrite original entry. |
| MenuActiveTrail403Test.php | file | core/ |
|
| MenuActiveTrail403Test::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| MenuActiveTrail403Test::$menu | property | core/ |
The menu which active trail is tested. |
| MenuActiveTrail403Test::$modules | property | core/ |
Modules to install. |
| MenuActiveTrail403Test::$privilegedUser | property | core/ |
A user who can access both routes in our menu. |
| MenuActiveTrail403Test::setUp | function | core/ |
|
| MenuActiveTrail403Test::testMenuActiveTrail403Cache | function | core/ |
Tests that visiting 403 page does not override original active trail. |
| MenuActiveTrail::$drupalProxyOriginalServiceId | property | core/ |
The id of the original proxied service. |
| MenuActiveTrail::$service | property | core/ |
The real proxied service, after it was lazy loaded. |
| MenuActiveTrail::destruct | function | core/ |
Performs destruct operations. |
| MenuActiveTrail::destruct | function | core/ |
Performs destruct operations. |
| MenuActiveTrail::doGetActiveTrailIds | function | core/ |
Helper method for ::getActiveTrailIds(). |
| MenuActiveTrail::getActiveTrailIds | function | core/ |
This implementation caches all active trail IDs per route match for *all* menus whose active trails are calculated on that page. This ensures 1 cache get for all active trails per page load, rather than N. |
| MenuActiveTrail::getActiveTrailIds | function | core/ |
Gets the active trail IDs of the specified menu tree. |
| MenuActiveTrail::has | function | core/ |
Returns whether data exists for this key. |
| MenuActiveTrail::lazyLoadItself | function | core/ |
Lazy loads the real service from the container. |
| MenuActiveTrail::reset | function | core/ |
Resets the local cache. |
| MenuActiveTrail::resolveCacheMiss | function | core/ |
|
| MenuActiveTrail::set | function | core/ |
Sets cache data. |
| MenuActiveTrail::__construct | function | core/ |
Constructs a ProxyClass Drupal proxy object. |
| MenuActiveTrail::__construct | function | core/ |
Constructs a \Drupal\Core\Menu\MenuActiveTrail object. |
| MenuActiveTrailInterface::getActiveTrailIds | function | core/ |
Gets the active trail IDs of the specified menu tree. |
| MenuActiveTrailsCacheContext | class | core/ |
Defines the MenuActiveTrailsCacheContext service. |
| MenuActiveTrailsCacheContext.php | file | core/ |
|
| MenuActiveTrailsCacheContext::getCacheableMetadata | function | core/ |
Gets cacheability metadata for the context based on the parameter value. |
| MenuActiveTrailsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| MenuActiveTrailsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| MenuActiveTrailsCacheContext::__construct | function | core/ |
Constructs a MenuActiveTrailsCacheContext object. |
| MenuActiveTrailTest | class | core/ |
Tests the active menu trail service. |
| MenuActiveTrailTest.php | file | core/ |
Pagination
- Previous page
- Page 895
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.