$content[type]  = array (
  'name' => 'Selenium test',
  'type' => 'selenium_test',
  'description' => 'Define a selenium test',
  'title_label' => 'Title',
  'body_label' => '',
  'min_word_count' => '0',
  'help' => '',
  'node_options' => 
  array (
    'status' => true,
    'promote' => true,
    'sticky' => false,
    'revision' => false,
  ),
  'comment' => '0',
  'upload' => 1,
  'old_type' => 'selenium_test',
  'orig_type' => '',
  'module' => 'node',
  'custom' => '1',
  'modified' => '1',
  'locked' => '0',
);
$content[fields]  = array (
  0 => 
  array (
    'widget_type' => 'text',
    'label' => 'Selenium source code',
    'weight' => '0',
    'rows' => '15',
    'description' => '',
    'default_value_widget' => 
    array (
      'field_selenium_source_code' => 
      array (
        0 => 
        array (
          'value' => '',
        ),
      ),
    ),
    'field_selenium_source_code' => 
    array (
      0 => 
      array (
        'format' => 1,
      ),
    ),
    'default_value_php' => '',
    'group' => false,
    'required' => '1',
    'multiple' => '0',
    'text_processing' => '1',
    'max_length' => '',
    'allowed_values' => '',
    'allowed_values_php' => '',
    'field_name' => 'field_selenium_source_code',
    'field_type' => 'text',
    'module' => 'text',
    'default_value' => 
    array (
      0 => 
      array (
        'value' => '',
      ),
    ),
  ),
  1 => 
  array (
    'widget_type' => 'computed',
    'label' => 'selenium_run_link',
    'weight' => '0',
    'description' => '',
    'group' => false,
    'required' => '1',
    'multiple' => '0',
    'code' => '$node_field[0][\'value\'] = $node->nid;',
    'display' => '$node_field[0][\'value\'] = $node->nid;',
    'display_format' => '$display = \'<a href=\'.url(\'selenium/start/\'.$node_field_item[\'value\']).\'>Start test</a>\';',
    'store' => 1,
    'data_type' => 'int',
    'data_length' => '9',
    'data_default' => '',
    'data_not_null' => 0,
    'data_sortable' => 0,
    'field_name' => 'field_selenium_run_link',
    'field_type' => 'computed',
    'module' => 'computed_field',
  ),
);

