Search for active
- Search 7.x for active
- Search 9.5.x for active
- Search 8.9.x for active
- Search 11.x for active
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MenuActiveTrail::getActiveLink | function | core/ |
|
MenuActiveTrail::getActiveTrailIds | function | core/ |
|
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::getCid | function | core/ |
|
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 | interface | core/ |
Defines an interface for the active menu trail service. |
MenuActiveTrailInterface.php | file | core/ |
|
MenuActiveTrailInterface::getActiveLink | function | core/ |
Fetches a menu link which matches the route name, parameters and menu name. |
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 the 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/ |
|
MenuActiveTrailTest::$cache | property | core/ |
The mocked cache backend. |
MenuActiveTrailTest::$currentRouteMatch | property | core/ |
The current route match service. |
MenuActiveTrailTest::$lock | property | core/ |
The mocked lock. |
MenuActiveTrailTest::$menuActiveTrail | property | core/ |
The tested active menu trail service. |
MenuActiveTrailTest::$menuLinkManager | property | core/ |
The mocked menu link manager. |
MenuActiveTrailTest::$requestStack | property | core/ |
The test request stack. |
MenuActiveTrailTest::provider | function | core/ |
Provides test data for all test methods. |
MenuActiveTrailTest::setUp | function | core/ |
|
MenuActiveTrailTest::testGetActiveLink | function | core/ |
Tests getActiveLink(). |
MenuActiveTrailTest::testGetActiveTrailIds | function | core/ |
Tests getActiveTrailIds(). |
MenuActiveTrailTest::testGetCid | function | core/ |
Tests getCid() |
MenuLinkTree::$menuActiveTrail | property | core/ |
The active menu trail service. |
MenuLinkTreeElement::$inActiveTrail | property | core/ |
Whether this link is in the active trail. |
MenuTreeParameters::$activeTrail | property | core/ |
The IDs from the currently active menu link to the root of the whole tree. |
MenuTreeParameters::setActiveTrail | function | core/ |
Sets the active trail IDs used to set the inActiveTrail property. |
ModuleExtensionList::getActiveProfile | function | core/ |
Gets the processed active profile object, or null. |
PagerTest::testActiveClass | function | core/ |
Tests markup and CSS classes of pager links. |
QueryParameterWorkspaceNegotiator::getActiveWorkspaceId | function | core/ |
Performs workspace negotiation. |
response_filter.active_link | service | core/ |
Drupal\Core\EventSubscriber\ActiveLinkResponseFilter |
SearchPageRepository::getActiveSearchPages | function | core/ |
|
SearchPageRepository::isSearchActive | function | core/ |
|
SearchPageRepositoryInterface::getActiveSearchPages | function | core/ |
Returns all active search page entities. |
SearchPageRepositoryInterface::isSearchActive | function | core/ |
Returns whether search is active. |
SearchPageRepositoryTest::testGetActiveSearchPages | function | core/ |
Tests the getActiveSearchPages() method. |
SearchPageRepositoryTest::testGetDefaultSearchPageWithActiveDefault | function | core/ |
Tests the getDefaultSearchPage() method when the default is active. |
SearchPageRepositoryTest::testGetDefaultSearchPageWithInactiveDefault | function | core/ |
Tests the getDefaultSearchPage() method when the default is inactive. |
SearchPageRepositoryTest::testIsSearchActive | function | core/ |
Tests the isSearchActive() method. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.