Search for active

  1. Search 7.x for active
  2. Search 8.9.x for active
  3. Search 10.3.x for active
  4. Search 11.x for active
  5. Other projects
Title Object type File name Summary
LocaleConfigSubscriberForeignTest::testUpdateActiveTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php Tests updating translations of shipped configuration.
LocaleConfigSubscriberTest::assertActiveConfig function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Ensures configuration was saved correctly.
LocaleNonInteractiveDevInstallTest class core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php Tests installing in a different language with a dev version string.
LocaleNonInteractiveDevInstallTest.php file core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
LocaleNonInteractiveDevInstallTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php The theme to install as the default for testing.
LocaleNonInteractiveDevInstallTest::getVersionStringToTest function core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php Gets the version string to use in the translation file.
LocaleNonInteractiveInstallTest class core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Tests installing in a different language with a non-dev version string.
LocaleNonInteractiveInstallTest.php file core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php
LocaleNonInteractiveInstallTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php The theme to install as the default for testing.
LocaleNonInteractiveInstallTest::getVersionStringToTest function core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Gets the version string to use in the translation file.
LocaleNonInteractiveInstallTest::installParameters function core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Returns the parameters that will be used when Simpletest installs Drupal.
LocaleNonInteractiveInstallTest::testInstallerTranslations function core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Tests that the expected translated text appears on the login screen.
LocalTaskDefault::$active property core/lib/Drupal/Core/Menu/LocalTaskDefault.php TRUE if this plugin is forced active for options attributes.
LocalTaskDefault::getActive function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Gets the active status.
LocalTaskDefault::setActive function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Sets the active status.
LocalTaskDefaultTest::testActive function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getActive
@covers ::setActive
LocalTaskInterface::getActive function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Gets the active status.
LocalTaskInterface::setActive function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Sets the active status.
LocalTaskManager::isRouteActive function core/lib/Drupal/Core/Menu/LocalTaskManager.php Determines whether the route of a certain local task is currently active.
menu.active_trail service core/core.services.yml Drupal\Core\Menu\MenuActiveTrail
MenuActiveTrail class core/lib/Drupal/Core/Menu/MenuActiveTrail.php Provides the default implementation of the active menu trail service.
MenuActiveTrail.php file core/lib/Drupal/Core/Menu/MenuActiveTrail.php
MenuActiveTrail403Test class core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php Tests that 403 active trail behavior does not overwrite original entry.
MenuActiveTrail403Test.php file core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
MenuActiveTrail403Test::$defaultTheme property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php The theme to install as the default for testing.
MenuActiveTrail403Test::$menu property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php The menu which active trail is tested.
MenuActiveTrail403Test::$modules property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php Modules to enable.
MenuActiveTrail403Test::$privilegedUser property core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php A user who can access both routes in our menu.
MenuActiveTrail403Test::setUp function core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php
MenuActiveTrail403Test::testMenuActiveTrail403Cache function core/tests/Drupal/FunctionalTests/Menu/MenuActiveTrail403Test.php Tests that visiting 403 page does not override original active trail.
MenuActiveTrail::$menuLinkManager property core/lib/Drupal/Core/Menu/MenuActiveTrail.php The menu link plugin manager.
MenuActiveTrail::$routeMatch property core/lib/Drupal/Core/Menu/MenuActiveTrail.php The route match object for the current page.
MenuActiveTrail::doGetActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Helper method for ::getActiveTrailIds().
MenuActiveTrail::getActiveLink function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Fetches a menu link which matches the route name, parameters and menu name.
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::resolveCacheMiss function core/lib/Drupal/Core/Menu/MenuActiveTrail.php
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.
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.

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