You are here

function imagefield_focus_widget_support in ImageField Focus 6

Same name and namespace in other branches
  1. 7 imagefield_focus.module \imagefield_focus_widget_support()

Return whether ImageField Focus has support for the given widget.

3 calls to imagefield_focus_widget_support()
imagefield_focus_find in ./imagefield_focus.module
Find an focus-enabled imagefield from a given filepath. Inspired by filefield_file_download($filepath).
imagefield_focus_get_items in ./imagefield_focus.module
imagefield_focus_widget_settings_alter in ./imagefield_focus.module
Implementation of CCK's hook_widget_settings_alter().

File

./imagefield_focus.module, line 374
Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

Code

function imagefield_focus_widget_support($type) {
  $widgets = imagefield_focus_get_widgets();
  return !empty($widgets[$type]);
}