function insert_widget_load in Insert 7
Same name and namespace in other branches
- 6 insert.module \insert_widget_load()
Load a single insert field widget info.
1 call to insert_widget_load()
- insert_element_process in ./
insert.module - Process function for insert-enabled fields.
File
- ./
insert.module, line 234 - Allows insertion of files, images, and other media directly into the body field by using an "Insert" button next to the uploaded file.
Code
function insert_widget_load($widget_type) {
$widgets = insert_widgets();
return isset($widgets[$widget_type]) ? $widgets[$widget_type] : FALSE;
}