Search for getModule

  1. Search 7.x for getModule
  2. Search 9.5.x for getModule
  3. Search 8.9.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::getModuleExtensionList function core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php Returns the module extension list used.
CategorizingPluginManagerTrait::getModuleHandler function core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php Returns the module handler used.
DatabaseDriver::getModule function core/lib/Drupal/Core/Extension/DatabaseDriver.php Returns the Extension object of the module containing the database driver.
DatabaseDriver::getModuleInfo function core/lib/Drupal/Core/Extension/DatabaseDriver.php Gets the content of the info.yml file of the driver's module, as an array.
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.
GenericModuleTestBase::getModule function core/modules/system/tests/src/Functional/Module/GenericModuleTestBase.php Get the module name.
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.
ModuleAdminLinksHelper::getModuleAdminLinks function core/modules/system/src/ModuleAdminLinksHelper.php Generates a list of admin tasks offered by a specified module.
ModuleAdminLinksHelperTest::testGetModuleAdminLinks function core/modules/system/tests/src/Kernel/ModuleAdminLinksHelperTest.php @covers ::getModuleAdminLinks
ModuleHandler::getModule function core/lib/Drupal/Core/Extension/ModuleHandler.php
ModuleHandler::getModuleDirectories function core/lib/Drupal/Core/Extension/ModuleHandler.php
ModuleHandler::getModuleList function core/lib/Drupal/Core/Extension/ModuleHandler.php
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
ModulePermissionsLinkHelper::getModulePermissionsLink function core/modules/user/src/ModulePermissionsLinkHelper.php Generates a link pointing to a given module's permissions page section.
ModulePermissionsLinkHelperTest::testGetModulePermissionsLink function core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php @covers ::getModulePermissionsLink
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.
SystemFunctionsLegacyTest::testSystemGetModuleAdminTasksDeprecation function core/modules/system/tests/src/Kernel/System/SystemFunctionsLegacyTest.php Tests system_get_module_admin_tasks() deprecation.
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.

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