function image_field_captions_allowed_tags in Image Field Caption 7
Returns a comma separated list of default allowed html tags for captions. This matches the default allowed tags parameters for the filter_xss function.
4 calls to image_field_captions_allowed_tags()
- image_field_caption_form_element_after_build in ./
image_field_caption.module - An #after_build callback for image fields. Attaches the caption textarea to the image field form element.
- image_field_caption_settings in ./
image_field_caption.module - The module's settings form.
- image_field_caption_settings_validate in ./
image_field_caption.module - The module's settings form validation handler.
- image_field_caption_theme_image in ./
image_field_caption.module - After hook_theme_registry_alter makes its alterations, this function provides the routing to properly theme the image and the caption.
File
- ./
image_field_caption.module, line 139 - Provides a caption textarea for image fields.
Code
function image_field_captions_allowed_tags() {
$default_value = 'a,em,strong,cite,blockquote,code,ul,ol,li,dl,dt,dd';
return variable_get('image_field_caption_allowed_tags', $default_value);
}