Search for getModule

  1. Search 7.x for getModule
  2. Search 8.9.x for getModule
  3. Search 10.3.x for getModule
  4. Search 11.x for getModule
  5. Other projects
Title Object type File name Summary
BaseFieldDefinitionTestBase::getModuleAndPath function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Returns the module name and the module directory for the plugin.
CategorizingPluginManagerTrait::getModuleHandler function core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php Returns the module handler used.
CKEditorPluginBase::getModuleList function core/modules/ckeditor/src/CKEditorPluginBase.php Gets the module list service.
CKEditorPluginBase::getModulePath function core/modules/ckeditor/src/CKEditorPluginBase.php Gets the Drupal-root relative installation directory of a module.
DbUpdateController::getModuleUpdates function core/modules/system/src/Controller/DbUpdateController.php Retrieves module updates.
Drupal6SqlBaseTest::testGetModuleSchemaVersion function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::getModuleSchemaVersion().
DrupalKernel::getModuleFileNames function core/lib/Drupal/Core/DrupalKernel.php Gets the file name for each enabled module.
DrupalKernel::getModuleNamespacesPsr4 function core/lib/Drupal/Core/DrupalKernel.php Gets the PSR-4 base directories for module namespaces.
DrupalKernel::getModulesParameter function core/lib/Drupal/Core/DrupalKernel.php Returns an array of Extension class parameters for all enabled modules.
DrupalSqlBase::getModuleSchemaVersion function core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php Retrieves a module schema_version from the source Drupal database.
ExtensionListTestTrait::getModulePath function core/tests/Drupal/Tests/ExtensionListTestTrait.php Gets the path for the specified module.
HandlerBase::getModuleHandler function core/modules/views/src/Plugin/views/HandlerBase.php Gets the module handler.
HelpTest::getModuleList function core/modules/help/tests/src/Functional/HelpTest.php Gets the list of enabled modules that implement hook_help().
InstallHelper::getModulePath function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Set module_path variable.
KernelTestBase::getModulesToEnable function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the modules to enable for this test.
ModuleHandler::getModule function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns a module extension object from the currently active modules list.
ModuleHandler::getModuleDirectories function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns an array of directories for all enabled modules.
ModuleHandler::getModuleList function core/lib/Drupal/Core/Extension/ModuleHandler.php Returns the list of currently active modules.
ModuleHandlerInterface::getModule function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns a module extension object from the currently active modules list.
ModuleHandlerInterface::getModuleDirectories function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns an array of directories for all enabled modules.
ModuleHandlerInterface::getModuleList function core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php Returns the list of currently active modules.
ModuleHandlerTest::getModuleHandler function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Get a module handler object to test.
ModuleHandlerTest::testGetModuleDirectories function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::getModuleDirectories
ModuleHandlerTest::testGetModuleList function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Confirm we get back the modules set in the constructor.
ModuleHandlerTest::testGetModuleWithExistingModule function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Confirm we get back a module from the module list.
ModuleHandlerTest::testGetModuleWithNonExistingModule function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::getModule
PathFieldDefinitionTest::getModuleAndPath function core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php Returns the module name and the module directory for the plugin.
PermissionHandler::getModuleNames function core/modules/user/src/PermissionHandler.php Returns all module names.
RequiredModuleUninstallValidator::getModuleInfoByModule function core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php Returns the module info for a specific module.
SourcePluginBase::getModuleHandler function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Gets the module handler.
TestDrupal6SqlBase::getModuleSchemaVersionWrapper function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Wrapper method to test protected method getModuleSchemaVersion().
Tour::getModule function core/modules/tour/src/Entity/Tour.php Gets the module this tour belongs to.
TourHelpPageTest::getModuleList function core/modules/tour/tests/src/Functional/TourHelpPageTest.php Gets a list of modules to test for hook_help() pages.
TourInterface::getModule function core/modules/tour/src/TourInterface.php Gets the module this tour belongs to.
UpdateRegistry::getModuleUpdateFunctions function core/lib/Drupal/Core/Update/UpdateRegistry.php Returns all available updates for a given module.
UpdateRegistryTest::testGetModuleUpdateFunctions function core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php @covers ::getModuleUpdateFunctions
@group legacy

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