public function ModuleHandlerInterface::getName in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/Extension/ModuleHandlerInterface.php \Drupal\Core\Extension\ModuleHandlerInterface::getName()
Gets the human readable name of a given module.
Parameters
string $module: The machine name of the module which title should be shown.
Return value
string Returns the human readable name of the module or the machine name passed in if no matching module is found.
1 method overrides ModuleHandlerInterface::getName()
- ModuleHandler::getName in src/
Extension/ ModuleHandler.php - Gets the human readable name of a given module.
File
- lib/
Drupal/ Core/ Extension/ ModuleHandlerInterface.php, line 313 - Contains \Drupal\Core\Extension\ModuleHandlerInterface.
Class
- ModuleHandlerInterface
- Interface for classes that manage a set of enabled modules.
Namespace
Drupal\Core\ExtensionCode
public function getName($module);