You are here

function insert_widget_load in Insert 6

Same name and namespace in other branches
  1. 7 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 163
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;
}