interface OnlyOneModuleHandlerInterface in Allow a content type only once (Only One) 8
Interface OnlyOneModuleHandlerInterface.
Hierarchy
- interface \Drupal\onlyone\OnlyOneModuleHandlerInterface
Expanded class hierarchy of OnlyOneModuleHandlerInterface
All classes that implement OnlyOneModuleHandlerInterface
File
- src/
OnlyOneModuleHandlerInterface.php, line 8
Namespace
Drupal\onlyoneView source
interface OnlyOneModuleHandlerInterface {
/**
* Returns a link to the module help page.
*
* @param string $module_machine_name
* The module machine name.
* @param string $module_name_alternate
* Alternate module name to use if the module is not present in the site.
* @param 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 string
* Returns a link to the module help page if the module is installed, the
* alternate module name otherwise.
*/
public function getModuleHelpPageLink($module_machine_name, $module_name_alternate, $emphasize = FALSE);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OnlyOneModuleHandlerInterface:: |
public | function | Returns a link to the module help page. | 1 |