public function OnlyOneModuleHandlerInterface::getModuleHelpPageLink in Allow a content type only once (Only One) 8
Returns a link to the module help page.
Parameters
string $module_machine_name: The module machine name.
string $module_name_alternate: Alternate module name to use if the module is not present in the site.
string|false $emphasize: Use this parameter to wrap with <em> tags the module name if the module is not installed or not present in the site.
Return value
string Returns a link to the module help page if the module is installed, the alternate module name otherwise.
1 method overrides OnlyOneModuleHandlerInterface::getModuleHelpPageLink()
- OnlyOneModuleHandler::getModuleHelpPageLink in src/
OnlyOneModuleHandler.php - Returns a link to the module help page.
File
- src/
OnlyOneModuleHandlerInterface.php, line 25
Class
- OnlyOneModuleHandlerInterface
- Interface OnlyOneModuleHandlerInterface.
Namespace
Drupal\onlyoneCode
public function getModuleHelpPageLink($module_machine_name, $module_name_alternate, $emphasize = FALSE);