You are here

function focal_point_imce_supported_widgets_alter in Focal Point 8

Add the focal point widget to the allowed widgets list in IMCE.

Parameters

array $widgets: The existing list of widgets to add to.

File

./focal_point.module, line 110
Allow users to specify a focal point on content images.

Code

function focal_point_imce_supported_widgets_alter(array &$widgets) {
  $widgets[] = 'image_focal_point';
}