function entity_embed_filter_info in Entity Embed 7.2
Same name and namespace in other branches
- 7.3 entity_embed.module \entity_embed_filter_info()
- 7 entity_embed.module \entity_embed_filter_info()
Implements hook_filter_info().
File
- ./
entity_embed.module, line 435 - Provides a CKEditor plugin and text filter for embedding and rendering entities.
Code
function entity_embed_filter_info() {
$filters['entity_embed'] = array(
'title' => t('Render embedded entities'),
'description' => t('Replaces embedded entity placeholders with the rendered entity.'),
'process callback' => '_entity_embed_render_placeholders',
'cache' => FALSE,
'tips callback' => '_entity_embed_render_placeholders_tips',
);
$filters['filter_align'] = array(
'title' => t('Align embedded entities'),
'description' => t('Allows embedded entities to be aligned.'),
'process callback' => '_entity_embed_filter_align',
'tips callback' => '_entity_embed_filter_align_tips',
);
return $filters;
}