function juicebox_file_formatter_info_alter in Juicebox HTML5 Responsive Image Galleries 7.2
Implements hook_file_formatter_info_alter().
File
- ./
juicebox.module, line 181 - Provides Drupal integration with the Juicebox library. This file contains the relevant Drupal hook implementations and callbacks.
Code
function juicebox_file_formatter_info_alter(&$info) {
// Using a Juicebox field formatter on a complete file entity display does
// not make any sense, and is not supported. The line below removes that
// formatter option alltogether.
unset($info['file_field_juicebox_formatter']);
}