function _password_policy_get_help_output in Password Policy 7.2
Gets help output for hook_help().
The output consists of the README.txt contents, if they can be loaded.
Return value
string README.txt contents within an HTML pre tag, or empty string if they could not be loaded.
1 call to _password_policy_get_help_output()
- password_policy_help in ./
password_policy.module - Implements hook_help().
File
- ./
password_policy.module, line 612 - Enforces password policies.
Code
function _password_policy_get_help_output() {
$readme = _password_policy_get_readme();
if ($readme === FALSE) {
$output = '';
}
else {
$output = '<pre>' . $readme . '</pre>';
}
return $output;
}