$content[type] = array ( 'name' => 'Media', 'type' => 'media', 'description' => 'Video and photos', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'comment' => '2', 'event_nodeapi' => 'never', 'scheduler' => 0, 'upload' => '1', 'old_type' => 'media', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'links_related_types' => '0', ); $content[fields] = array ( 0 => array ( 'widget_type' => 'text', 'label' => 'source', 'weight' => '0', 'rows' => '1', 'description' => '', 'field_source' => array ( 0 => array ( 'value' => '', ), ), 'default_value_php' => '', 'group' => false, 'required' => '0', 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_source', 'field_type' => 'text', 'module' => 'text', 'default_value' => array ( 0 => array ( 'value' => '', ), ), ), 1 => array ( 'widget_type' => 'text', 'label' => 'ware', 'weight' => '1', 'rows' => '1', 'description' => 'To be used as Shopping.com fodder', 'field_ware' => array ( 0 => array ( 'value' => '', ), 1 => array ( 'value' => '', ), 2 => array ( 'value' => '', ), ), 'default_value_php' => '', 'group' => false, 'required' => '0', 'multiple' => '1', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'field_name' => 'field_ware', 'field_type' => 'text', 'module' => 'text', ), 2 => array ( 'widget_type' => 'link', 'label' => 'related', 'weight' => '2', 'description' => 'related links', 'field_related' => array ( 0 => array ( 'url' => '', 'title' => '', ), 1 => array ( 'url' => '', 'title' => '', ), ), 'default_value_php' => '', 'group' => false, 'required' => '0', 'multiple' => '1', 'title' => 'optional', 'attributes' => array ( 'target' => '_blank', 'rel' => 0, ), 'field_name' => 'field_related', 'field_type' => 'link', 'module' => 'link', ), );