You are here

webform_node_element.module in Webform Node Element 7

Same filename and directory in other branches
  1. 8 webform_node_element.module
  2. 6 webform_node_element.module

File

webform_node_element.module
View source
<?php

/**
 * Implements hook_webform_component_info()
 */
function webform_node_element_webform_component_info() {
  $components = array();
  $components['node'] = array(
    'label' => t('Node'),
    'description' => t('Displays node body content in the form; does not render a field.'),
    'features' => array(
      'csv' => TRUE,
      'email' => TRUE,
      'required' => FALSE,
      'conditional' => FALSE,
      'title_display' => TRUE,
      'title_inline' => TRUE,
    ),
    'file' => 'components/node.inc',
  );
  return $components;
}