You are here

function webform_node_element_webform_component_info in Webform Node Element 7

Same name and namespace in other branches
  1. 6 webform_node_element.module \webform_node_element_webform_component_info()

Implements hook_webform_component_info()

File

./webform_node_element.module, line 6

Code

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;
}