function nd_content_build_modes in Node displays 7
Same name and namespace in other branches
- 6.3 nd.module \nd_content_build_modes()
- 6 nd.module \nd_content_build_modes()
- 6.2 nd.module \nd_content_build_modes()
Implements hook_content_build_modes().
File
- ./
nd.module, line 45 - Node displays.
Code
function nd_content_build_modes() {
$build_modes = array(
'nd' => array(
'title' => t('Node displays'),
'build modes' => array(
'full' => array(
'title' => t('Full node'),
'weight' => -1,
),
'teaser' => array(
'title' => t('Teaser'),
'weight' => 1,
),
'sticky' => array(
'title' => t('Sticky'),
'weight' => 2,
),
'rss' => array(
'title' => t('RSS'),
'weight' => 3,
),
),
),
);
return $build_modes;
}