You are here

function node_embed_views_data_alter in Node Embed 7

Implements hook_views_data_alter().

File

./node_embed.module, line 237
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_views_data_alter(&$data) {
  $data['views']['node_embed'] = array(
    'title' => t('Node embed add area'),
    'help' => t('Provide links to add nodes.'),
    'area' => array(
      'handler' => 'views_handler_node_embed_add_area',
    ),
  );
}