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 10.3.x for active
  5. Other projects
Title Object type File name Summary
DefaultNegotiator::determineActiveTheme function core/lib/Drupal/Core/Theme/DefaultNegotiator.php Determine the active theme for the request.
DriverSpecificTransactionTestBase::testCommitWithActiveSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests committing a transaction while savepoints are active.
DriverSpecificTransactionTestBase::testRollbackRootWithActiveSavepoint function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests root transaction rollback failure when savepoint is open.
DrupalSqlBaseTest::testSourceProviderNotActive function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @covers ::checkRequirements
Drupal\package_manager\Validator\StageNotInActiveValidator service core/modules/package_manager/package_manager.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 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.
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.
FixtureManipulatorTest::testActiveManipulatorNoCommitError function core/modules/package_manager/tests/src/Kernel/FixtureManipulatorTest.php Test that an exception is thrown if ::commitChanges() is not called.
ForumBlockTest::testActiveForumTopicsBlock function core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the "Active forum topics" block.
GitExcluderTest::testGitDirectoriesExcludedActive function core/modules/package_manager/tests/src/Kernel/PathExcluder/GitExcluderTest.php Tests that Git directories are excluded from stage during PreCreate.
HighPriorityThemeNegotiator::determineActiveTheme function core/modules/system/tests/modules/theme_test/src/Theme/HighPriorityThemeNegotiator.php Determine the active theme for the request.
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

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