function insert_insert_styles in Insert 7
Same name and namespace in other branches
- 8.2 insert.module \insert_insert_styles()
- 6 includes/insert.inc \insert_insert_styles()
Implementation of hook_insert_styles().
File
- includes/
insert.inc, line 11 - Insert support for generic files.
Code
function insert_insert_styles() {
$insert_styles = array();
$insert_styles['auto'] = array(
'label' => t('Automatic'),
'weight' => -20,
);
$insert_styles['link'] = array(
'label' => t('Link to file'),
'weight' => -12,
);
$insert_styles['icon_link'] = array(
'label' => t('Link to file (with icon)'),
'weight' => -11,
);
$insert_styles['image'] = array(
'label' => t('Original image'),
'weight' => -10,
);
$insert_styles['video'] = array(
'label' => t('Embed video'),
'weight' => -9,
);
$insert_styles['audio'] = array(
'label' => t('Embed audio'),
'weight' => -8,
);
return $insert_styles;
}