function simplenews_content_build_modes in Simplenews 6
Same name and namespace in other branches
- 6.2 simplenews.module \simplenews_content_build_modes()
Implementation of hook_content_build_modes().
File
- ./
simplenews.module, line 2413 - Simplnews node handling, sent email, newsletter block and general hooks
Code
function simplenews_content_build_modes() {
return array(
'simplenews' => array(
'title' => t('Simplenews'),
'build modes' => array(
'email_plain' => array(
'title' => t('Email: Plain'),
'views style' => FALSE,
),
'email_html' => array(
'title' => t('Email: HTML'),
'views style' => FALSE,
),
),
),
);
}