function bibcite_help in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x bibcite.module \bibcite_help()
Implements hook_help().
File
- ./
bibcite.module, line 48 - Main module hooks.
Code
function bibcite_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.bibcite':
$links = [
':proc' => Url::fromRoute('bibcite.settings')
->toString(),
':csl' => Url::fromRoute('entity.bibcite_csl_style.collection')
->toString(),
];
$module = 'bibcite';
return \Drupal::service('bibcite.help_service')
->getHelpMarkup($links, $route_name, $module);
}
}