You are here

function focal_point_get_default_method_info in Focal Point 7

Get a list of methods that can be used to set the default focal point value.

Return value

array An array of arrays with the keys "label" and "callback".

See also

image_focus_focal_point_default_method_info()

2 calls to focal_point_get_default_method_info()
focal_point_configuration_form in ./focal_point.admin.inc
System form for focal point configuration settings.
_focal_point_guess_default in ./focal_point.module
Make a best guess for the initial value of the focal point of the given file.

File

./focal_point.module, line 325

Code

function focal_point_get_default_method_info() {
  $info =& drupal_static(__FUNCTION__);
  if (!isset($info)) {
    $info = module_invoke_all('focal_point_default_method_info');
    drupal_alter('focal_point_default_method_info', $info);
  }
  return $info;
}