function node_embed_admin_paths in Node Embed 7
Implements hook_admin_paths().
Show the admin theme in the wysiwyg popup.
File
- ./
node_embed.module, line 316 - 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_admin_paths() {
$paths = array();
if (variable_get('node_admin_theme', FALSE)) {
$paths['ckeditor-node-embed'] = TRUE;
$paths['ckeditor-node-embed/*'] = TRUE;
}
return $paths;
}