Search for active

  1. Search 7.x for active
  2. Search 9.5.x for active
  3. Search 8.9.x for active
  4. Search 11.x for active
  5. Other projects
Title Object type File name Summary
MenuActiveTrail::getActiveLink function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail::getActiveTrailIds function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php
MenuActiveTrail::getActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrail.php 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/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail::has function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Returns whether data exists for this key.
MenuActiveTrail::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Lazy loads the real service from the container.
MenuActiveTrail::reset function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Resets the local cache.
MenuActiveTrail::resolveCacheMiss function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail::set function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Sets cache data.
MenuActiveTrail::__construct function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Constructs a ProxyClass Drupal proxy object.
MenuActiveTrail::__construct function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Constructs a \Drupal\Core\Menu\MenuActiveTrail object.
MenuActiveTrailInterface interface core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Defines an interface for the active menu trail service.
MenuActiveTrailInterface.php file core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php
MenuActiveTrailInterface::getActiveLink function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Fetches a menu link which matches the route name, parameters and menu name.
MenuActiveTrailInterface::getActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Gets the active trail IDs of the specified menu tree.
MenuActiveTrailsCacheContext class core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Defines the MenuActiveTrailsCacheContext service.
MenuActiveTrailsCacheContext.php file core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php
MenuActiveTrailsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
MenuActiveTrailsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Returns the string representation of the cache context.
MenuActiveTrailsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Returns the label of the cache context.
MenuActiveTrailsCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Constructs a MenuActiveTrailsCacheContext object.
MenuActiveTrailTest class core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests the active menu trail service.
MenuActiveTrailTest.php file core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
MenuActiveTrailTest::$cache property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked cache backend.
MenuActiveTrailTest::$currentRouteMatch property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The current route match service.
MenuActiveTrailTest::$lock property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked lock.
MenuActiveTrailTest::$menuActiveTrail property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The tested active menu trail service.
MenuActiveTrailTest::$menuLinkManager property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The mocked menu link manager.
MenuActiveTrailTest::$requestStack property core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php The test request stack.
MenuActiveTrailTest::provider function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Provides test data for all test methods.
MenuActiveTrailTest::setUp function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
MenuActiveTrailTest::testGetActiveLink function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getActiveLink().
MenuActiveTrailTest::testGetActiveTrailIds function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getActiveTrailIds().
MenuActiveTrailTest::testGetCid function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getCid()
MenuLinkTree::$menuActiveTrail property core/lib/Drupal/Core/Menu/MenuLinkTree.php The active menu trail service.
MenuLinkTreeElement::$inActiveTrail property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link is in the active trail.
MenuTreeParameters::$activeTrail property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The IDs from the currently active menu link to the root of the whole tree.
MenuTreeParameters::setActiveTrail function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Sets the active trail IDs used to set the inActiveTrail property.
ModuleExtensionList::getActiveProfile function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Gets the processed active profile object, or null.
PagerTest::testActiveClass function core/modules/system/tests/src/Functional/Pager/PagerTest.php Tests markup and CSS classes of pager links.
QueryParameterWorkspaceNegotiator::getActiveWorkspaceId function core/modules/workspaces/src/Negotiator/QueryParameterWorkspaceNegotiator.php Performs workspace negotiation.
response_filter.active_link service core/core.services.yml Drupal\Core\EventSubscriber\ActiveLinkResponseFilter
SearchPageRepository::getActiveSearchPages function core/modules/search/src/SearchPageRepository.php
SearchPageRepository::isSearchActive function core/modules/search/src/SearchPageRepository.php
SearchPageRepositoryInterface::getActiveSearchPages function core/modules/search/src/SearchPageRepositoryInterface.php Returns all active search page entities.
SearchPageRepositoryInterface::isSearchActive function core/modules/search/src/SearchPageRepositoryInterface.php Returns whether search is active.
SearchPageRepositoryTest::testGetActiveSearchPages function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the getActiveSearchPages() method.
SearchPageRepositoryTest::testGetDefaultSearchPageWithActiveDefault function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the getDefaultSearchPage() method when the default is active.
SearchPageRepositoryTest::testGetDefaultSearchPageWithInactiveDefault function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the getDefaultSearchPage() method when the default is inactive.
SearchPageRepositoryTest::testIsSearchActive function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the isSearchActive() method.

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