You are here

function entity_embed_filter_info in Entity Embed 7.3

Same name and namespace in other branches
  1. 7 entity_embed.module \entity_embed_filter_info()
  2. 7.2 entity_embed.module \entity_embed_filter_info()

Implements hook_filter_info().

File

./entity_embed.module, line 419
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',
    'js settings callback' => '_entity_embed_entity_embed_js_settings',
  );
  return $filters;
}