function node_embed_ckeditor_plugin in Node Embed 7
Implements of hook_ckeditor_plugin().
File
- ./
node_embed.module, line 328 - This module defines an input filter for taking an embed code syntax ([[nid: ###]]) and removing the embed code and replacing with a rendered node view at that position in the text field.
Code
function node_embed_ckeditor_plugin() {
return array(
'NodeEmbed' => array(
'name' => 'NodeEmbed',
'desc' => t('Node Embed - embed nodes in content.'),
'path' => drupal_get_path('module', 'node_embed') . '/ckeditor/NodeEmbed/',
'buttons' => array(
'NodeEmbed' => array(
'icon' => 'images/icon.gif',
'label' => 'Node Embed',
),
),
),
);
}