146 string references to module_handler in Drupal 10
- AccountSettingsForm::create in core/
modules/ user/ src/ AccountSettingsForm.php - Instantiates a new instance of this class.
- BlockConfigEntityUnitTest::setUp in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.php - BlockContentEntityReferenceSelectionTest::setUp in core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentEntityReferenceSelectionTest.php - BlockViewBuilder::lazyBuilder in core/
modules/ block/ src/ BlockViewBuilder.php - #lazy_builder callback; builds a #pre_render-able block.
- BlockVisibility::create in core/
modules/ block/ src/ Plugin/ migrate/ process/ BlockVisibility.php - Creates an instance of the plugin.
- CKEditor5::create in core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php - CKEditor5PluginManagerTest::testInvalidPluginDefinitions in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.php - @covers \Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition::__construct() @dataProvider providerTestInvalidPluginDefinitions
- CKEditor::create in core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php - CommentAdminOverview::create in core/
modules/ comment/ src/ Form/ CommentAdminOverview.php - Instantiates a new instance of this class.
- CommentDefaultFormatterCacheTagsTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ CommentDefaultFormatterCacheTagsTest.php - CommentFieldsTest::testCommentInstallAfterContentModule in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests that comment module works when installed after a content module.
- 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 - ConfigImporterMissingContentTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterMissingContentTest.php - ConfigImportRecreateTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImportRecreateTest.php - ConfigImportRenameValidationTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImportRenameValidationTest.php - ConfigSingleImportForm::create in core/
modules/ config/ src/ Form/ ConfigSingleImportForm.php - Instantiates a new instance of this class.
- ConfigSync::create in core/
modules/ config/ src/ Form/ ConfigSync.php - Instantiates a new instance of this class.
- ConfigTestTrait::configImporter in core/
tests/ Drupal/ Tests/ ConfigTestTrait.php - Returns a ConfigImporter object to import test configuration.
- ConfigTranslationDeleteForm::create in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - Instantiates a new instance of this class.
- ConfigUninstallViaCliImportTest::setUp in core/
modules/ config/ tests/ src/ Kernel/ ConfigUninstallViaCliImportTest.php - ConfigUninstallViaCliImportTest::testConfigUninstallViaCli in core/
modules/ config/ tests/ src/ Kernel/ ConfigUninstallViaCliImportTest.php - Tests that the config module can be uninstalled via CLI config import.
- ContentEntityNullStorageTest::testDeleteThroughImport in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ContentEntityNullStorageTest.php - Tests deleting a contact form entity via a configuration import.
- ContentTranslationConfigImportTest::setUp in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationConfigImportTest.php - 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.
- CreateMigrationsTrait::drupal6Migrations in core/
modules/ migrate_drupal/ tests/ src/ Traits/ CreateMigrationsTrait.php - Create instances of all Drupal 6 migrations.
- CreateMigrationsTrait::drupal7Migrations in core/
modules/ migrate_drupal/ tests/ src/ Traits/ CreateMigrationsTrait.php - Create instances of all Drupal 7 migrations.
- CronForm::create in core/
modules/ system/ src/ Form/ CronForm.php - Instantiates a new instance of this class.
- D6NodeDeriver::create in core/
modules/ node/ src/ Plugin/ migrate/ D6NodeDeriver.php - D7NodeDeriver::create in core/
modules/ node/ src/ Plugin/ migrate/ D7NodeDeriver.php - DateField::getFieldType in core/
modules/ datetime/ src/ Plugin/ migrate/ field/ DateField.php - Computes the destination type of a migrated field.
- DbLogController::create in core/
modules/ dblog/ src/ Controller/ DbLogController.php - Instantiates a new instance of this class.
- DbUpdateController::create in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Instantiates a new instance of this class.
- DefaultSelection::create in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ DefaultSelection.php - Creates an instance of the plugin.
- DefaultsSectionStorageTest::testBuildRoutes in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - @covers ::buildRoutes @covers ::getEntityTypes @covers \Drupal\layout_builder\Routing\LayoutBuilderRoutesTrait::buildLayoutRoutes
- DefaultsSectionStorageTest::testBuildRoutesNoFieldUi in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - @covers ::buildRoutes
- Drupal::moduleHandler in core/
lib/ Drupal.php - Returns the module handler.
- DrupalKernel::preHandle in core/
lib/ Drupal/ Core/ DrupalKernel.php - Helper method that does request related initialization.
- DrupalKernelTest::testCompileDIC in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ DrupalKernelTest.php - Tests DIC compilation.
- DrupalTest::testModuleHandler in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the moduleHandler() method.
- EditorAdminTest::enableUnicornEditor in core/
modules/ editor/ tests/ src/ Functional/ EditorAdminTest.php - Enables the unicorn editor.
- EntityBundleFieldTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityBundleFieldTest.php - EntityFieldTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFieldTest.php - EntityLanguageTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityLanguageTestBase.php - EntityListBuilderTest::testGetOperations in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityListBuilderTest.php - @covers ::getOperations
- EntityPermissionsForm::create in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - EntitySearchPage::create in core/
modules/ search/ src/ Plugin/ migrate/ destination/ EntitySearchPage.php - Creates an instance of the plugin.
- EntityTypeConstraintsTest::testConstraintDefinition in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypeConstraintsTest.php - Tests defining entity constraints via entity type annotations and hooks.
- EntityViewsData::createInstance in core/
modules/ views/ src/ EntityViewsData.php - FieldAccessTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Field/ FieldAccessTest.php - 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.
- FileSystemRequirementsTest::checkSystemRequirements in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemRequirementsTest.php - Checks system runtime requirements.
- 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 - HelpEmptyPageTest::testEmptyHookHelp in core/
modules/ help/ tests/ src/ Kernel/ HelpEmptyPageTest.php - Ensures that no URL generator is called on a page without hook_help().
- HookHelpSection::create in core/
modules/ help/ src/ Plugin/ HelpSection/ HookHelpSection.php - ImportForm::create in core/
modules/ locale/ src/ Form/ ImportForm.php - Instantiates a new instance of this class.
- InstallerNonDefaultDatabaseDriverTest::testInstalled in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerNonDefaultDatabaseDriverTest.php - Confirms that the installation succeeded.
- InstallerNonEnglishProfileWithoutLocaleModuleTest::testNonEnglishProfileWithoutLocaleModule in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerNonEnglishProfileWithoutLocaleModuleTest.php - Tests installing a profile with non-English language and no locale module.
- 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 - InstallProfileDependenciesTest::testUninstallingModules in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallProfileDependenciesTest.php - Tests that an install profile can require modules.
- install_config_import_batch in core/
includes/ install.core.inc - Creates a batch for the config importer to process.
- install_config_revert_install_changes in core/
includes/ install.core.inc - Reverts configuration if hook_install() implementations have made changes.
- install_finish_translations in core/
includes/ install.core.inc - Finishes importing files at end of installation.
- KernelTestBase::bootKernel in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Bootstraps a kernel for a test.
- 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::installConfig in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Installs default configuration for a given list of modules.
- KernelTestBase::installSchema in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Installs database tables from a module schema definition.
- LanguageServiceProvider::alter in core/
modules/ language/ src/ LanguageServiceProvider.php - language_tour_tips_alter in core/
modules/ language/ language.module - Implements hook_tour_tips_alter().
- LayoutBuilderIsActiveCacheContextTest::testGetContext in core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutBuilderIsActiveCacheContextTest.php - @covers ::getContext @covers ::getDisplay
- LocaleBuildTest::testBuildProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleBuildTest.php - Checks if a list of translatable projects gets built.
- LocaleTranslation::create in core/
modules/ locale/ src/ Plugin/ QueueWorker/ LocaleTranslation.php - LocaleTranslationDownloadTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationDownloadTest.php - LocaleTranslationProjectsTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleTranslationProjectsTest.php - LocaleUpdateTest::testUpdateProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleUpdateTest.php - Checks if a list of translatable projects gets build.
- MediaLibraryWidget::create in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Creates an instance of the plugin.
- media_requirements in core/
modules/ media/ media.install - Implements hook_requirements().
- MenuLinkDefaultForm::create in core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php - Instantiates a new instance of this class.
- MigrateTestCase::getDatabase in core/
modules/ migrate/ tests/ src/ Unit/ MigrateTestCase.php - Gets an SQLite database connection object for use in tests.
- MigrateUserAdminPassTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ MigrateUserAdminPassTest.php - migrate_drupal_migration_plugins_alter in core/
modules/ migrate_drupal/ migrate_drupal.module - Implements hook_migration_plugins_alter().
- 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/ tests/ src/ Kernel/ Plugin/ MigrationProvidersExistTest.php - Enable all available modules.
- ModuleHandlerDeprecatedHookTest::testAlterDeprecated in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookTest.php - @covers ::alterDeprecated
- ModuleHandlerDeprecatedHookTest::testInvokeAllDeprecated in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookTest.php - @covers ::invokeAllDeprecated
- ModuleHandlerDeprecatedHookTest::testInvokeDeprecated in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookTest.php - @covers ::invokeDeprecated
- ModuleHandlerDeprecatedHookUnimplementedTest::testUnimplementedHooks in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerDeprecatedHookUnimplementedTest.php - @covers ::alterDeprecated @covers ::invokeAllDeprecated @covers ::invokeDeprecated
- ModuleHandlerTest::assertModuleList in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Assert that the extension handler returns the expected values.
- ModuleHandlerTest::moduleHandler in core/
modules/ system/ tests/ src/ Kernel/ Extension/ ModuleHandlerTest.php - Returns the ModuleHandler.
- ModuleHandlerTest::testInvalidGetName in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleHandlerTest.php - Tests requesting the name of an invalid module.
- ModuleInstaller::updateKernel in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - Updates the kernel module list.
- ModuleInstallerTest::testDeprecatedInstall in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleInstallerTest.php - Tests trying to install a deprecated module.
- ModuleLegacyTest::testModuleLoadInclude in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleLegacyTest.php - Test deprecation of module_load_include() function.
- 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.
- ModulesUninstallForm::create in core/
modules/ system/ src/ Form/ ModulesUninstallForm.php - Instantiates a new instance of this class.
- ModuleTestBase::assertModules in core/
modules/ system/ tests/ src/ Functional/ Module/ ModuleTestBase.php - Assert the list of modules are enabled or disabled.
- 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 - Creates an instance of the plugin.
- Node::create in core/
modules/ node/ src/ Plugin/ migrate/ source/ d7/ Node.php - Creates an instance of the plugin.
- NodeSearch::create in core/
modules/ node/ src/ Plugin/ Search/ NodeSearch.php - OverriddenConfigImportTest::setUp in core/
modules/ language/ tests/ src/ Kernel/ OverriddenConfigImportTest.php - 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.
- Permission::create in core/
modules/ user/ src/ Plugin/ views/ access/ Permission.php - Creates an instance of the plugin.
- Permissions::create in core/
modules/ user/ src/ Plugin/ views/ filter/ Permissions.php - Permissions::create in core/
modules/ user/ src/ Plugin/ views/ field/ Permissions.php - PreviewTest::enableViewsTestModule in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ PreviewTest.php - Sets up the views_test_data.module.
- QuickEditFieldForm::create in core/
modules/ quickedit/ src/ Form/ QuickEditFieldForm.php - Instantiates a new instance of this class.
- RdfCommentStorageLoadTest::testRdfCommentStorageLoad in core/
modules/ rdf/ tests/ src/ Kernel/ RdfCommentStorageLoadTest.php - Tests rdf_comment_storage_load.
- RegistryTest::testRaceCondition in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ RegistryTest.php - Tests the behavior of the theme registry class.
- ReviewForm::create in core/
modules/ migrate_drupal_ui/ src/ Form/ ReviewForm.php - Instantiates a new instance of this class.
- 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.
- StatisticsSettingsForm::create in core/
modules/ statistics/ src/ StatisticsSettingsForm.php - Instantiates a new instance of this class.
- SystemListingCrossProfileCompatibleTest::testSystemListing in core/
profiles/ testing/ modules/ drupal_system_listing_compatible_test/ tests/ src/ Kernel/ SystemListingCrossProfileCompatibleTest.php - Non-empty test* method required to executed the test case class.
- TestRunnerKernel::boot in core/
lib/ Drupal/ Core/ Test/ TestRunnerKernel.php - TestViewsTest::testDefaultConfig in core/
modules/ views/ tests/ src/ Kernel/ TestViewsTest.php - Tests default configuration data type.
- 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.
- UpdateHookRegistryFactory::create in core/
lib/ Drupal/ Core/ Update/ UpdateHookRegistryFactory.php - Creates a new UpdateHookRegistry instance.
- UpdateManagerInstall::create in core/
modules/ update/ src/ Form/ UpdateManagerInstall.php - Instantiates a new instance of this class.
- UpdateManagerUpdate::create in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - Instantiates a new instance of this class.
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- UpdatePathTestTrait::runUpdates in core/
tests/ Drupal/ Tests/ UpdatePathTestTrait.php - Helper function to run pending database updates.
- UpdateReady::create in core/
modules/ update/ src/ Form/ UpdateReady.php - Instantiates a new instance of this class.
- UpdateRegistryFactory::create in core/
lib/ Drupal/ Core/ Update/ UpdateRegistryFactory.php - Creates a new UpdateRegistry instance.
- UserData::create in core/
modules/ user/ src/ Plugin/ views/ field/ UserData.php - UserInstallTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ UserInstallTest.php - UserPermissionsForm::create in core/
modules/ user/ src/ Form/ UserPermissionsForm.php - Instantiates a new instance of this class.
- UserSearch::create in core/
modules/ user/ src/ Plugin/ Search/ UserSearch.php - UserSelection::create in core/
modules/ user/ src/ Plugin/ EntityReferenceSelection/ UserSelection.php - ValidateMigrationStateTestTrait::enableAllModules in core/
modules/ migrate_drupal/ tests/ src/ Traits/ ValidateMigrationStateTestTrait.php - Enable all available modules.
- ViewExecutableTest::setUp in core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php - ViewsHooksTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ ViewsHooksTest.php - ViewsSelection::create in core/
modules/ views/ src/ Plugin/ EntityReferenceSelection/ ViewsSelection.php - ViewTestBase::enableViewsTestModule in core/
modules/ views/ tests/ src/ Functional/ ViewTestBase.php - Sets up the views_test_data.module.