$content['type'] = array (
'name' => 'Directory',
'type' => 'book',
'description' => 'A directory is a container that can hold other directories and documents.',
'title_label' => 'Name',
'body_label' => 'Description',
'min_word_count' => '0',
'help' => '',
'node_options' =>
array (
'status' => true,
'promote' => false,
'sticky' => false,
'revision' => false,
),
'old_type' => 'book',
'orig_type' => 'book',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
'comment' => '0',
'comment_default_mode' => '4',
'comment_default_order' => '1',
'comment_default_per_page' => '50',
'comment_controls' => '3',
'comment_anonymous' => 0,
'comment_subject_field' => '1',
'comment_preview' => '1',
'comment_form_location' => '0',
);
$content['fields'] = array (
0 =>
array (
'label' => 'Documents',
'field_name' => 'field_directory_documents',
'type' => 'viewfield',
'widget_type' => 'viewfield_select',
'change' => 'Change basic information',
'weight' => '11',
'force_default' => 1,
'description' => '',
'group' => false,
'required' => 1,
'multiple' => '0',
'allowed_views' =>
array (
'list_documents_in_directory' => 0,
'comments_recent' => 0,
'tracker' => 0,
'frontpage' => 0,
'glossary' => 0,
'archive' => 0,
'popular' => 0,
'taxonomy_term' => 0,
),
'super_default' => 0,
'token_enabled' => 0,
'super_default_widget' =>
array (
'vname' => 'list_documents_in_directory|default',
'vargs' => '%nid',
),
'op' => 'Save field settings',
'module' => 'viewfield',
'widget_module' => 'viewfield',
'columns' =>
array (
'vname' =>
array (
'type' => 'varchar',
'not null' => false,
'length' => 32,
),
'vargs' =>
array (
'type' => 'varchar',
'not null' => false,
'length' => 255,
),
),
'display_settings' =>
array (
'label' =>
array (
'format' => 'above',
'exclude' => 0,
),
5 =>
array (
'format' => 'default',
'exclude' => 0,
),
'teaser' =>
array (
'format' => 'default',
'exclude' => 0,
),
'full' =>
array (
'format' => 'default',
'exclude' => 0,
),
4 =>
array (
'format' => 'default',
'exclude' => 0,
),
'token' =>
array (
'format' => 'default',
'exclude' => 0,
),
),
),
);
$content['extra'] = array (
'title' => '-5',
'body_field' => '0',
'menu' => '-2',
'book' => '10',
);