function _focal_point_help in Focal Point 7
Retrieve the help text for a focal point field.
Return value
array A render array for the help text to display on a focal point field.
2 calls to _focal_point_help()
- focal_point_preprocess_image_widget in ./
focal_point.module - Implements template_preprocess_image_widget().
- _focal_point_form_append_focal_point_preview in ./
focal_point.module - Append the focal point preview field to file edit forms.
File
- ./
focal_point.module, line 561
Code
function _focal_point_help() {
return array(
'#prefix' => '<div class="focal-point-help">',
'#markup' => t('Click and drag the crosshair to target the most important portion of the image. This portion of the image will never be cropped.'),
'#suffix' => '</div>',
);
}