110 string references to module_handler
- AccountSettingsForm::create in core/
modules/ user/ src/ AccountSettingsForm.php - Instantiates a new instance of this class.
- BigPipeInterfacePreviewThemeSuggestionsTest::testBigPipeThemeHookSuggestions in core/
modules/ big_pipe/ tests/ src/ Kernel/ BigPipeInterfacePreviewThemeSuggestionsTest.php - Tests theme suggestions from big_pipe.
- BlockConfigEntityUnitTest::setUp in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.php - BlockContentEntityReferenceSelectionTest::setUp in core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentEntityReferenceSelectionTest.php - BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions in core/
modules/ block/ tests/ src/ Kernel/ BlockTemplateSuggestionsTest.php - Tests template suggestions from the block module.
- BlockViewBuilder::lazyBuilder in core/
modules/ block/ src/ BlockViewBuilder.php - Render API callback: Builds a block that can be pre-rendered.
- BrowserTestBase::tearDown in core/
tests/ Drupal/ Tests/ BrowserTestBase.php - CheckpointStorageTest::getConfigImporter in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ Checkpoint/ CheckpointStorageTest.php - Gets the configuration importer.
- CKEditor5Test::testJsAlterHook in core/
modules/ ckeditor5/ tests/ src/ Unit/ CKEditor5Test.php - Test the js_alter hook alters when expected.
- CommentAdminOverview::create in core/
modules/ comment/ src/ Form/ CommentAdminOverview.php - Instantiates a new instance of this class.
- CommentLockTest::testLocks in core/
modules/ comment/ tests/ src/ Unit/ Entity/ CommentLockTest.php - Tests the lock behavior.
- ConfigEntityBaseUnitTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - ConfigTranslationDeleteForm::create in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - Instantiates a new instance of this class.
- ContentLanguageSettingsForm::create in core/
modules/ language/ src/ Form/ ContentLanguageSettingsForm.php - Instantiates a new instance of this class.
- ContentTranslationEntityBundleInfoTest::testHookInvocationOrder in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationEntityBundleInfoTest.php - Tests that modules can know whether bundles are translatable.
- ControllerBase::moduleHandler in core/
lib/ Drupal/ Core/ Controller/ ControllerBase.php - Returns the module handler.
- CopyTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - Tests for entity storage exception.
- CronForm::create in core/
modules/ system/ src/ Form/ CronForm.php - Instantiates a new instance of this class.
- DbUpdateController::create in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Instantiates a new instance of the implementing class using autowiring.
- DefaultMenuLinkTreeManipulatorsTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - DefaultPluginManagerTest::testDefaultPluginManager in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ DefaultPluginManagerTest.php - Tests annotations and attributes on the default plugin manager.
- DefaultPluginManagerTest::testDefaultPluginManagerAnnotationsOnly in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ DefaultPluginManagerTest.php - Tests the deprecation message for using only annotations.
- DefaultsSectionStorageTest::testBuildRoutes in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - Tests build routes.
- DefaultsSectionStorageTest::testBuildRoutesNoFieldUi in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - Tests build routes no field ui.
- Drupal::moduleHandler in core/
lib/ Drupal.php - Returns the module handler.
- DrupalKernel::resetContainer in core/
lib/ Drupal/ Core/ DrupalKernel.php - Force a container reset.
- DrupalTest::testModuleHandler in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the moduleHandler() method.
- EnabledExtensionsValidatorTest::testExtensionRemoved in core/
modules/ package_manager/ tests/ src/ Kernel/ EnabledExtensionsValidatorTest.php - Tests that error is raised if Drupal modules, profiles or themes are removed.
- EntityBundleFieldTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityBundleFieldTest.php - EntityListBuilderTest::testGetOperations in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityListBuilderTest.php - Tests get operations.
- EntityListBuilderTest::testGetOperationsWithNullLabel in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityListBuilderTest.php - Ensures entity operations handle entities without labels.
- EntityPermissionsForm::create in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - Instantiates a new instance of this class.
- EntitySearchPage::create in core/
modules/ search/ src/ Plugin/ migrate/ destination/ EntitySearchPage.php - Instantiates a new instance of the implementing class using autowiring.
- EntityViewsData::createInstance in core/
modules/ views/ src/ EntityViewsData.php - Instantiates a new instance of this entity handler.
- ExtensionExistsConstraintValidator::create in core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionExistsConstraintValidator.php - Instantiates a new instance of this class.
- ExtensionMimeTypeGuesserDeprecationTest::testConstructorDeprecation in core/
tests/ Drupal/ KernelTests/ Core/ File/ ExtensionMimeTypeGuesserDeprecationTest.php - Tests that deprecations are raised for missing constructor arguments.
- ExtraFieldBlockDeriver::create in core/
modules/ layout_builder/ src/ Plugin/ Derivative/ ExtraFieldBlockDeriver.php - Creates a new class instance.
- FieldBlockDeriver::create in core/
modules/ layout_builder/ src/ Plugin/ Derivative/ FieldBlockDeriver.php - Creates a new class instance.
- FieldStorageConfigStorage::createInstance in core/
modules/ field/ src/ FieldStorageConfigStorage.php - Instantiates a new instance of this entity handler.
- FieldTypePluginManagerTest::enableAllCoreModules in core/
modules/ field/ tests/ src/ Kernel/ FieldTypePluginManagerTest.php - Enable all core modules.
- FileRepositoryTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - Tests for entity storage exception.
- FilteredPluginManagerTrait::moduleHandler in core/
lib/ Drupal/ Core/ Plugin/ FilteredPluginManagerTrait.php - Wraps the module handler.
- HelpBlock::create in core/
modules/ help/ src/ Plugin/ Block/ HelpBlock.php - Instantiates a new instance of the implementing class using autowiring.
- HookCollectorPassTest::testHookAfter in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook ordering with attributes.
- HookCollectorPassTest::testHookAfterClassMethod in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook ordering with attributes.
- HookCollectorPassTest::testHookBefore in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook ordering with attributes.
- HookCollectorPassTest::testHookFirst in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook ordering with attributes.
- HookCollectorPassTest::testHookLast in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook ordering with attributes.
- HookCollectorPassTest::testHookOrderExtraTypes in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook ordering with attributes.
- HookCollectorPassTest::testHookOverride in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook override.
- HookCollectorPassTest::testHookRemove in core/
tests/ Drupal/ KernelTests/ Core/ Hook/ HookCollectorPassTest.php - Tests hook remove.
- IconPackManagerKernelTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ Icon/ IconPackManagerKernelTest.php - ImageStyleTest::testFlush in core/
modules/ image/ tests/ src/ Unit/ ImageStyleTest.php - Tests flush.
- ImportForm::create in core/
modules/ locale/ src/ Form/ ImportForm.php - Instantiates a new instance of this class.
- InstallerTest::testInstalled in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTest.php - Confirms that the installation succeeded.
- InstallHelper::create in core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php - Instantiates a new instance of this class.
- KernelTestBase::disableModules in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Disables modules for this test.
- KernelTestBase::enableModules in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Enables modules for this test.
- KernelTestBase::installSchema in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Installs database tables from a module schema definition.
- LayoutBuilderIsActiveCacheContextTest::testGetContext in core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutBuilderIsActiveCacheContextTest.php - Tests get context.
- LocaleTranslation::create in core/
modules/ locale/ src/ Plugin/ QueueWorker/ LocaleTranslation.php - Creates an instance of the plugin.
- LocaleTranslationDownloadTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationDownloadTest.php - LocaleTranslationProjectsTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleTranslationProjectsTest.php - MediaLibraryWidget::create in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Instantiates a new instance of the implementing class using autowiring.
- MenuLinkDefaultForm::create in core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php - Instantiates a new instance of this class.
- MigrateDrupalHooks::migrationPluginsAlter in core/
modules/ migrate_drupal/ src/ Hook/ MigrateDrupalHooks.php - Implements hook_migration_plugins_alter().
- MigrateEntityContentBaseTest::testBundleFallbackForStub in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests bundle is properly provided for stubs without bundle support.
- MigrateTestCase::getDatabase in core/
modules/ migrate/ tests/ src/ Unit/ MigrateTestCase.php - Gets an SQLite database connection object for use in tests.
- MigrationLabelExistTest::testLabelExist in core/
modules/ migrate_drupal_ui/ tests/ src/ Kernel/ MigrationLabelExistTest.php - Tests that labels exist for all migrations.
- MigrationProvidersExistTest::enableAllModules in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ MigrationProvidersExistTest.php - Enable all available modules.
- ModuleHandlerDeprecatedHookTest::testAlterDeprecated in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookTest.php - Tests alter deprecated.
- ModuleHandlerDeprecatedHookTest::testInvokeAllDeprecated in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookTest.php - Tests invoke all deprecated.
- ModuleHandlerDeprecatedHookTest::testInvokeDeprecated in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookTest.php - Tests invoke deprecated.
- ModuleHandlerDeprecatedHookUnimplementedTest::testUnimplementedHooks in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookUnimplementedTest.php - Tests unimplemented hooks.
- ModuleHandlerTest::moduleHandler in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Returns the ModuleHandler.
- ModuleInstaller::updateKernel in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Updates the kernel module list.
- ModuleInstallerTest::testUninstallValidatorsBC in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleInstallerTest.php - Tests the BC layer for uninstall validators.
- ModulesListConfirmForm::create in core/
modules/ system/ src/ Form/ ModulesListConfirmForm.php - Instantiates a new instance of this class.
- ModulesListForm::create in core/
modules/ system/ src/ Form/ ModulesListForm.php - Instantiates a new instance of this class.
- ModulesListNonStableConfirmForm::create in core/
modules/ system/ src/ Form/ ModulesListNonStableConfirmForm.php - Instantiates a new instance of this class.
- ModulesUninstallForm::create in core/
modules/ system/ src/ Form/ ModulesUninstallForm.php - Instantiates a new instance of this class.
- MoveTest::testEntityStorageException in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests for entity storage exception.
- Node::create in core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ Node.php - Instantiates a new instance of the implementing class using autowiring.
- Node::create in core/
modules/ node/ src/ Plugin/ migrate/ source/ d7/ Node.php - Instantiates a new instance of the implementing class using autowiring.
- NodeSearch::create in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - Instantiates a new instance of the implementing class using autowiring.
- NodeViewsData::createInstance in core/
modules/ node/ src/ NodeViewsData.php - Instantiates a new instance of this entity handler.
- OverviewTerms::create in core/
modules/ taxonomy/ src/ Form/ OverviewTerms.php - Instantiates a new instance of this class.
- PerformanceForm::create in core/
modules/ system/ src/ Form/ PerformanceForm.php - Instantiates a new instance of this class.
- RecipeCommand::rollBackToCheckpoint in core/
lib/ Drupal/ Core/ Recipe/ RecipeCommand.php - Rolls config back to a particular checkpoint.
- RequirementsTest::testUploadRequirements in core/
modules/ file/ tests/ src/ Kernel/ RequirementsTest.php - Tests the file upload requirements.
- ServiceProviderTestServiceProvider::alter in core/
modules/ system/ tests/ modules/ service_provider_test/ src/ ServiceProviderTestServiceProvider.php - Modifies existing service definitions.
- ShortcutSetStorage::createInstance in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Instantiates a new instance of this entity handler.
- SqlContentEntityStorageTest::setUpModuleHandlerNoImplementations in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageTest.php - Sets up the module handler with no implementations.
- StateFileExistsTest::testMigrationState in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ StateFileExistsTest.php - Tests that the migrate_drupal.yml files exist as needed.
- SystemListingCrossProfileCompatibleTest::testSystemListing in core/
profiles/ tests/ testing/ modules/ drupal_system_listing_compatible_test/ tests/ src/ Kernel/ SystemListingCrossProfileCompatibleTest.php - Non-empty test* method required to executed the test case class.
- TestViewsTest::testDefaultConfig in core/
modules/ views/ tests/ src/ Kernel/ TestViewsTest.php - Tests default configuration data type.
- ThemeInstaller::resetSystem in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - Resets some other systems like rebuilding the route information or caches.
- ThemeInstallerTest::moduleHandler in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeInstallerTest.php - Returns the ModuleHandler.
- ThemeSettingsForm::create in core/
modules/ system/ src/ Form/ ThemeSettingsForm.php - Instantiates a new instance of this class.
- TranslationStatusForm::create in core/
modules/ locale/ src/ Form/ TranslationStatusForm.php - Instantiates a new instance of this class.
- UpdatePathTestTrait::runUpdates in core/
tests/ Drupal/ Tests/ UpdatePathTestTrait.php - Helper function to run pending database updates.
- UserPermissionsForm::create in core/
modules/ user/ src/ Form/ UserPermissionsForm.php - Instantiates a new instance of this class.
- UserRequirementsTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ UserRequirementsTest.php - UserSearch::create in core/
modules/ user/ src/ Plugin/ Search/ UserSearch.php - Instantiates a new instance of the implementing class using autowiring.
- ValidateMigrationStateTestTrait::enableAllModules in core/
modules/ migrate_drupal/ tests/ src/ Traits/ ValidateMigrationStateTestTrait.php - Enable all available modules.
- ViewAddForm::create in core/
modules/ views_ui/ src/ ViewAddForm.php - Instantiates a new instance of this class.
- ViewDuplicateForm::create in core/
modules/ views_ui/ src/ ViewDuplicateForm.php - Instantiates a new instance of this class.
- ViewEditForm::create in core/
modules/ views_ui/ src/ ViewEditForm.php - Instantiates a new instance of this class.
- ViewExecutableTest::setUp in core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php - ViewsHooksTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.