function hook_focal_point_supported_widget_types_alter in Focal Point 7
Alter an array of supported widget types.
Parameters
array $supported: An array of widget types as strings.
1 invocation of hook_focal_point_supported_widget_types_alter()
- _focal_point_supported_widget_type in ./
focal_point.module - Determine whether or not the provided field can use focal point support.
File
- ./
focal_point.api.php, line 19 - Documentation of Feeds hooks.
Code
function hook_focal_point_supported_widget_types_alter(&$supported) {
$supported[] = 'mymodule_my_custom_widget_type';
}