function asset_widget_in_frame_form in Asset 7
Helper to determine in-frame forms context.
6 calls to asset_widget_in_frame_form()
- asset_widget_base_form_submit_delete in modules/
asset_widget/ asset_widget.module - Custom submit handler.
- asset_widget_element_info_alter in modules/
asset_widget/ asset_widget.module - Implements hook_element_info_alter().
- asset_widget_form_alter in modules/
asset_widget/ asset_widget.module - Implements hook_form_alter().
- asset_widget_imagefield_crop_widget_process in modules/
asset_widget/ asset_widget.module - Custom process callback for imagecrop fields. Needed to reduce crop area size.
- asset_widget_init in modules/
asset_widget/ asset_widget.module - Implements hook_init().
File
- modules/
asset_widget/ asset_widget.module, line 55 - Code for the Asset widget module.
Code
function asset_widget_in_frame_form() {
return !empty($_GET['asset_frame']);
}