function gallery_assist_advanced_help_builder in Gallery Assist 6
Provide more Advanced Help functionality for Galley Assist and submodules.
Parameters
$in An array with the needed data to build and display a advanced help link.:
- contains
- $in['module']
- An string containig the module name.
- $in['help_link']
- A string containing the advanced help path.
- $in['text']
- An string containing the help text.
- $in['module']
Return value
the rendered Advanced Help link with the (?) icon.
4 calls to gallery_assist_advanced_help_builder()
- gallery_assist_settings_tothis_node in ./
gallery_assist_node_settings.inc - @file
- _gallery_assist_form in ./
gallery_assist.module - Build the form section for upload- and items-administration.
- _gallery_assist_settings_nodes in ./
gallery_assist.admin.inc - _get_ga_form in ./
gallery_assist.module
File
- ./
gallery_assist.module, line 112 - Drupal content type with gallery functionality.
Code
function gallery_assist_advanced_help_builder($in = array()) {
if (empty($in)) {
return '';
}
$help_link = theme('advanced_help_topic', $in['module'], $in['help_link']);
$output = $help_link ? ' ' . $help_link : '';
$output .= $in['text'];
return $output;
}