Commit 1401c376 authored by redndahead's avatar redndahead
Browse files

Issue #1471092 by Jon Pugh, Cauliflower: Make *.help.ini data available to...

Issue #1471092 by Jon Pugh, Cauliflower: Make *.help.ini data available to hook_advanced_help_topic_info_alter().
parent 592952c8
...@@ -829,6 +829,8 @@ function _advanced_help_parse_ini() { ...@@ -829,6 +829,8 @@ function _advanced_help_parse_ini() {
$file = !empty($topic['file']) ? $topic['file'] : $name; $file = !empty($topic['file']) ? $topic['file'] : $name;
$cache['topics'][$module][$name] = array( $cache['topics'][$module][$name] = array(
'name' => $name, 'name' => $name,
'module' => $module,
'ini' => $topic,
'title' => !empty($translation[$name]['title']) ? $translation[$name]['title'] : $topic['title'], 'title' => !empty($translation[$name]['title']) ? $translation[$name]['title'] : $topic['title'],
'weight' => isset($topic['weight']) ? $topic['weight'] : 0, 'weight' => isset($topic['weight']) ? $topic['weight'] : 0,
'parent' => isset($topic['parent']) ? $topic['parent'] : 0, 'parent' => isset($topic['parent']) ? $topic['parent'] : 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment