You are here

function insert_styles_list in Insert 6

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

Get a list of styles suitable for an #options array.

1 call to insert_styles_list()
insert_widget_form in ./insert.module
Configuration form for editing insert settings for a field instance.

File

./insert.module, line 130
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_styles_list() {
  $list = array();
  foreach (insert_styles() as $name => $style) {
    $list[$name] = $style['label'];
  }
  return $list;
}