Search for getActiveTrailIds

  1. Search 7.x for getActiveTrailIds
  2. Search 9.5.x for getActiveTrailIds
  3. Search 10.3.x for getActiveTrailIds
  4. Search 11.x for getActiveTrailIds
  5. Other projects
Title Object type File name Summary
BookManager::getActiveTrailIds function core/modules/book/src/BookManager.php Gets the active trail IDs for the specified book at the provided path.
BookManagerInterface::getActiveTrailIds function core/modules/book/src/BookManagerInterface.php Gets the active trail IDs for the specified book at the provided path.
MenuActiveTrail::doGetActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrail.php Helper method for ::getActiveTrailIds().
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.
MenuActiveTrailInterface::getActiveTrailIds function core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php Gets the active trail IDs of the specified menu tree.
MenuActiveTrailTest::testGetActiveTrailIds function core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php Tests getActiveTrailIds().

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