You are here

function module_builder_help in Module Builder 8.3

Same name and namespace in other branches
  1. 7.2 module_builder.module \module_builder_help()

Implements hook_help().

File

./module_builder.module, line 13
Builds scaffolding for custom modules.

Code

function module_builder_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.module_builder':
      return t("Module builder allows you to generate code files for new custom modules.");
    case 'entity.module_builder_module.collection':
      return t('This page allows you to generate the files for a custom module with scaffolding code for hook implementations, plugins, and so on.');
  }
}