You are here

function insert_style_load in Insert 6

Same name and namespace in other branches
  1. 7 insert.module \insert_style_load()

Load an individual insert style.

1 call to insert_style_load()
insert_element_process in ./insert.module
Process function for insert-enabled fields.

File

./insert.module, line 122
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_style_load($style_name) {
  $styles = insert_styles();
  return isset($styles[$style_name]) ? $styles[$style_name] : FALSE;
}