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
Drupal\Core\Menu\MenuActiveTrailInterface service core/core.services.yml
EntityFieldManager::$activeFieldStorageDefinitions property core/lib/Drupal/Core/Entity/EntityFieldManager.php Static cache of active field storage definitions per entity type.
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
EntityRepository::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php
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.
EventSubscriber::$active property core/modules/config/tests/config_transformer_test/src/EventSubscriber.php The active config storage.
ExcludedModulesEventSubscriber::$activeStorage property core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php
ExportStorageManager::$active property core/lib/Drupal/Core/Config/ExportStorageManager.php The active configuration storage.
FieldAccessTest::$activeUid property core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php Holds the currently active global user ID that initiated the test run.
ForumBlockTest::testActiveForumTopicsBlock function core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the "Active forum topics" block.
HighPriorityThemeNegotiator::determineActiveTheme function core/modules/system/tests/modules/theme_test/src/Theme/HighPriorityThemeNegotiator.php
InstallerTranslationMultipleLanguageNonInteractiveTest class core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Tests translation files for multiple languages get imported during install.
InstallerTranslationMultipleLanguageNonInteractiveTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php
InstallerTranslationMultipleLanguageNonInteractiveTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php The theme to install as the default for testing.
InstallerTranslationMultipleLanguageNonInteractiveTest::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Switch to the multilingual testing profile.
InstallerTranslationMultipleLanguageNonInteractiveTest::getPo function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Returns the string for the test .po file.
InstallerTranslationMultipleLanguageNonInteractiveTest::installParameters function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Returns the parameters that will be used when the test installs Drupal.
InstallerTranslationMultipleLanguageNonInteractiveTest::prepareEnvironment function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Prepares the current environment for running the test.
InstallerTranslationMultipleLanguageNonInteractiveTest::testTranslationsLoaded function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Tests that translations ended up at the expected places.
InstallerTranslationMultipleLanguageNonInteractiveTest::verifyImportedStringsTranslated function core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php Helper function to verify that the expected strings are translated.
LanguageSwitchingTest::doTestLanguageLinkActiveClassAnonymous function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php For anonymous users, the "active" class is set by PHP.
LanguageSwitchingTest::doTestLanguageLinkActiveClassAuthenticated function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php For authenticated users, the "active" class is set by JavaScript.
LanguageSwitchingTest::testLanguageLinkActiveClass function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Tests active class on links when switching languages.
LanguageTestController::typeLinkActiveClass function core/modules/language/tests/language_test/src/Controller/LanguageTestController.php Returns links to the current page with different langcodes.
LayoutBuilderDisableInteractionsTest::assertLinksFormIframeNotInteractive function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Asserts that forms, links, and iframes in preview are non-interactive.
LayoutBuilderIsActiveCacheContext class core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Determines whether Layout Builder is active for a given entity type or not.
LayoutBuilderIsActiveCacheContext.php file core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php
LayoutBuilderIsActiveCacheContext::$routeMatch property core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php The current route match.
LayoutBuilderIsActiveCacheContext::getCacheableMetadata function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
LayoutBuilderIsActiveCacheContext::getContext function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Returns the string representation of the cache context.
LayoutBuilderIsActiveCacheContext::getDisplay function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Returns the entity view display for a given entity type and view mode.
LayoutBuilderIsActiveCacheContext::getLabel function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php Returns the label of the cache context.
LayoutBuilderIsActiveCacheContext::__construct function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php LayoutBuilderCacheContext constructor.
LayoutBuilderIsActiveCacheContextTest class core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php @coversDefaultClass \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext
LayoutBuilderIsActiveCacheContextTest.php file core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php
LayoutBuilderIsActiveCacheContextTest::providerTestGetContext function core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php Provides test data for ::testGetContext().
LayoutBuilderIsActiveCacheContextTest::testGetContext function core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php @covers ::getContext
@covers ::getDisplay
LayoutBuilderIsActiveCacheContextTest::testGetContextMissingEntityTypeId function core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php @covers ::getContext
LayoutBuilderIsActiveCacheContextTest::testGetContextNonFieldableEntity function core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php @covers ::getContext
@covers ::getDisplay
LibraryDiscoveryCollectorTest::$activeTheme property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
LibraryDiscoveryParserTest::$activeTheme property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php The mocked active theme.
LinearHistory::$activeCheckpoint property core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php The active checkpoint.
LinearHistory::getActiveCheckpoint function core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php
LinkGeneratorTest::testGenerateActive function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the active class on the link method.
LocaleConfigManager::getActiveConfigLangcode function core/modules/locale/src/LocaleConfigManager.php Returns the current language code for this active configuration.
LocaleConfigManager::saveTranslationActive function core/modules/locale/src/LocaleConfigManager.php Saves translated configuration data.

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