Search for getActive

  1. Search 7.x for getActive
  2. Search 8.9.x for getActive
  3. Search 10.3.x for getActive
  4. Search 11.x for getActive
  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.
ConfigInstaller::getActiveStorages function core/lib/Drupal/Core/Config/ConfigInstaller.php Gets the configuration storage that provides the active configuration.
EntityFieldManager::getActiveFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php Gets the active field storage definitions for a content entity type.
EntityRepository::getActive function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the active entity variant matching the specified context.
EntityRepository::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the active entity variants matching the specified context.
EntityRepositoryInterface::getActive function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the active entity variant matching the specified context.
EntityRepositoryInterface::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the active entity variants matching the specified context.
EntityRepositoryTest::testGetActive function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests retrieving active variants.
EntityTypeManager::getActiveDefinition function core/lib/Drupal/Core/Entity/EntityTypeManager.php Gets the active definition for a content entity type.
LocaleConfigManager::getActiveConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the current language code for this active configuration.
LocalTaskDefault::getActive function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Gets the active status.
LocalTaskInterface::getActive function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Gets the active status.
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.
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.
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().
ModuleExtensionList::getActiveProfile function core/lib/Drupal/Core/Extension/ModuleExtensionList.php Gets the processed active profile object, or null.
QueryParameterWorkspaceNegotiator::getActiveWorkspace function core/modules/workspaces/src/Negotiator/QueryParameterWorkspaceNegotiator.php Gets the negotiated workspace, if any.
SearchPageRepository::getActiveSearchPages function core/modules/search/src/SearchPageRepository.php Returns all active search page entities.
SearchPageRepositoryInterface::getActiveSearchPages function core/modules/search/src/SearchPageRepositoryInterface.php Returns all active search page entities.
SearchPageRepositoryTest::testGetActiveSearchPages function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the getActiveSearchPages() method.
SessionWorkspaceNegotiator::getActiveWorkspace function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Gets the negotiated workspace, if any.
TestWorkspaceNegotiator::getActiveWorkspace function core/modules/workspaces/tests/modules/workspace_update_test/src/Negotiator/TestWorkspaceNegotiator.php Gets the negotiated workspace, if any.
ThemeInitialization::getActiveTheme function core/lib/Drupal/Core/Theme/ThemeInitialization.php Builds up the active theme object from extensions.
ThemeInitialization::getActiveThemeByName function core/lib/Drupal/Core/Theme/ThemeInitialization.php Builds an active theme object.
ThemeInitializationInterface::getActiveTheme function core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php Builds up the active theme object from extensions.
ThemeInitializationInterface::getActiveThemeByName function core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php Builds an active theme object.
ThemeManager::getActiveTheme function core/lib/Drupal/Core/Theme/ThemeManager.php Returns the active theme object.
ThemeManagerInterface::getActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Returns the active theme object.
TwigExtension::getActiveTheme function core/lib/Drupal/Core/Template/TwigExtension.php Gets the name of the active theme.
TwigExtension::getActiveThemePath function core/lib/Drupal/Core/Template/TwigExtension.php Gets the path of the active theme.
WorkspaceManager::getActiveWorkspace function core/modules/workspaces/src/WorkspaceManager.php Gets the active workspace.
WorkspaceManagerInterface::getActiveWorkspace function core/modules/workspaces/src/WorkspaceManagerInterface.php Gets the active workspace.
WorkspaceNegotiatorInterface::getActiveWorkspace function core/modules/workspaces/src/Negotiator/WorkspaceNegotiatorInterface.php Gets the negotiated workspace, if any.

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