function hook_focal_point_default_method_info_alter in Focal Point 7
Alter the default focal point calculation methods.
Parameters
array $info: An keyed array of arrays with the keys label and callback.
1 invocation of hook_focal_point_default_method_info_alter()
- focal_point_get_default_method_info in ./
focal_point.module - Get a list of methods that can be used to set the default focal point value.
File
- ./
focal_point.api.php, line 50 - Documentation of Feeds hooks.
Code
function hook_focal_point_default_method_info_alter(&$info) {
$info['example']['callback'] = 'example_get_better_focal_point';
}