function features_general_content_node_info in Multipurpose Corporate Profile 7
Implements hook_node_info().
File
- modules/
features/ features_general_content/ features_general_content.features.inc, line 19 - features_general_content.features.inc
Code
function features_general_content_node_info() {
$items = array(
'article' => array(
'name' => t('Article'),
'base' => 'node_content',
'description' => t('Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'blog_entry' => array(
'name' => t('Blog entry'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'clients' => array(
'name' => t('Clients'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'dignities' => array(
'name' => t('Dignities'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'main_slider' => array(
'name' => t('Main slider'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'news' => array(
'name' => t('News'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'page' => array(
'name' => t('Basic page'),
'base' => 'node_content',
'description' => t('Use <em>basic pages</em> for your static content, such as an \'About us\' page.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'portfolio' => array(
'name' => t('Portfolio'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'secondary_slider' => array(
'name' => t('Secondary slider'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'team_member' => array(
'name' => t('Team member'),
'base' => 'node_content',
'description' => '',
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
'webform' => array(
'name' => t('Webform'),
'base' => 'node_content',
'description' => t('Create a new form or questionnaire accessible to users. Submission results and statistics are recorded and accessible to privileged users.'),
'has_title' => '1',
'title_label' => t('Title'),
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}