$content[type] = array (
'name' => 'Promotion',
'type' => 'promotion',
'description' => 'Promotions produce gaming activity in the Casino. They have terms, schedules, and information.',
'title_label' => 'Name',
'body_label' => 'Promo Info',
'min_word_count' => '0',
'help' => '',
'node_options' =>
array (
'status' => true,
'promote' => false,
'sticky' => false,
'revision' => false,
),
'comment' => '0',
'upload' => '0',
'comment_upload' => '0',
'fivestar' => 0,
'fivestar_position' => 'above',
'image_attach' => '0',
'scheduler' => 1,
'old_type' => 'promotion',
'orig_type' => '',
'module' => 'node',
'custom' => '1',
'modified' => '1',
'locked' => '0',
'links_related_types' => '0',
'node_images_position' => 'hide',
'node_images_gallery_link' => '1',
'node_images_teaser_images' => '2',
'node_images_body_images' => '',
'node_images_teaser_format' => 'thumbs',
'node_images_body_format' => 'thumbs',
'send_type' => 'promotion',
'news_promotion_fulltext' => '',
'news_promotion_linktext' => 'send news',
'news_promotion_subject' => 'News from RRRC Intranet Test',
'news_promotion_message' => '',
'news_promotion_template' => '%message
%body
',
'news_promotion' => 0,
'news_promotion_pernode' => '',
'send_promotion_fulltext' => '',
'send_promotion_linktext' => 'send to friend',
'send_promotion_subject' => 'Send to Friend from RRRC Intranet Test',
'send_promotion_message' => '',
'send_promotion_template' => '%message
%body
',
'send_promotion' => 0,
'send_promotion_pernode' => '',
);
$content[groups] = array (
0 =>
array (
'label' => 'Times and Dates',
'settings' =>
array (
'collapsible' => 0,
'collapsed' => 0,
'multiple' => 0,
),
'description' => '',
'weight' => '-2',
'group_name' => 'group_times_and_dates',
),
1 =>
array (
'label' => 'Logo',
'settings' =>
array (
'collapsible' => 0,
'collapsed' => 0,
'multiple' => 0,
),
'description' => 'Add the promotion\'s logo image here. Images should be 300x300 pixels. A smaller thumbnail type image will automatically be produced as needed.',
'weight' => '-1',
'group_name' => 'group_logo',
),
);
$content[fields] = array (
0 =>
array (
'widget_type' => 'date_js',
'label' => 'Promotion period',
'weight' => '-7',
'description' => 'The period during which the promotion is in effect, from the first day when the player can win/earn entries/et cetera, to the day of the final award.',
'group' => 'group_times_and_dates',
'prefix' => '',
'suffix' => '',
'required' => '1',
'multiple' => '0',
'granularity' =>
array (
'Y' => 'Y',
'M' => 'M',
'D' => 'D',
),
'todate' => 'required',
'input_format' => 'site-wide',
'input_format_custom' => '',
'output_format_date' => 'F j, Y',
'output_format_zone' => '',
'output_format_custom' => '',
'output_format_date_long' => 'l, F j, Y - H:i',
'output_format_zone_long' => '',
'output_format_custom_long' => '',
'output_format_date_medium' => 'D, m/d/Y - H:i',
'output_format_zone_medium' => '',
'output_format_custom_medium' => '',
'output_format_date_short' => 'm/d/Y - H:i',
'output_format_zone_short' => '',
'output_format_custom_short' => '',
'tz_handling' => 'site',
'field_timezone' => 'GMT',
'field_name' => 'field_promotion_period',
'field_type' => 'date',
'module' => 'date',
),
1 =>
array (
'widget_type' => 'image',
'label' => 'Logo Image',
'weight' => '0',
'max_resolution' => '300x300',
'image_path' => 'images/promos',
'custom_alt' => 1,
'custom_title' => 1,
'teaser_preset' => 'band_image_thumbnail',
'body_preset' => 'default',
'description' => '',
'field_logo_image_upload' => '',
'upload' => 'Upload',
'default_value_php' => '',
'group' => 'group_logo',
'prefix' => '',
'suffix' => '',
'required' => '0',
'multiple' => '0',
'field_name' => 'field_logo_image',
'field_type' => 'image',
'module' => 'imagefield',
),
);