Search for active

  1. Search 7.x for active
  2. Search 9.5.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
Database::isActiveConnection function core/lib/Drupal/Core/Database/Database.php Determines if there is an active connection.
Database::setActiveConnection function core/lib/Drupal/Core/Database/Database.php Sets the active connection to the specified key.
DatabaseLegacyTest::testDbSetActive function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests the db_set_active() function.
DbUpdateNegotiator::determineActiveTheme function core/modules/system/src/Theme/DbUpdateNegotiator.php Determine the active theme for the request.
db_set_active function core/includes/database.inc Sets a new active database.
DefaultNegotiator::determineActiveTheme function core/lib/Drupal/Core/Theme/DefaultNegotiator.php Determine the active theme for the request.
DrupalSqlBaseTest::testSourceProviderNotActive function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @covers ::checkRequirements
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.
EntityManager::getActive function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getActiveDefinition function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getActiveFieldStorageDefinitions function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManager::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testActiveMultiple function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getActiveMultiple() method.
EntityManagerTest::testGetActive function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php Tests the getActive() method.
EntityManagerTest::testGetActiveDefinition function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::getActiveDefinition
EntityManagerTest::testGetActiveFieldStorageDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::getActiveFieldStorageDefinitions
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::$activeDefinitions property core/lib/Drupal/Core/Entity/EntityTypeManager.php A list of entity type definitions that are active for the current request.
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.
FileStorageFactory::getActive function core/lib/Drupal/Core/Config/FileStorageFactory.php Returns a FileStorage object working with the active config directory.
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 Determine the active theme for the request.
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 Test 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.
LibraryDiscoveryCollectorTest::$activeTheme property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.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.
LocaleConfigSubscriberForeignTest::saveLanguageActive function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php Saves a language override.
LocaleConfigSubscriberForeignTest::testCreateActiveTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberForeignTest.php Tests creating translations of shipped configuration.

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