function insert_styles_list in Insert 7
Same name and namespace in other branches
- 6 insert.module \insert_styles_list()
Get a list of styles suitable for an #options array.
1 call to insert_styles_list()
- insert_field_widget_settings_form in ./
insert.module - Configuration form for editing insert settings for a field instance.
File
- ./
insert.module, line 201 - 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;
}