function simplenews_theme in Simplenews 6
Same name and namespace in other branches
- 8.2 simplenews.module \simplenews_theme()
- 8 simplenews.module \simplenews_theme()
- 6.2 simplenews.module \simplenews_theme()
- 7.2 simplenews.module \simplenews_theme()
- 7 simplenews.module \simplenews_theme()
- 3.x simplenews.module \simplenews_theme()
Implementation of hook_theme().
File
- ./
simplenews.module, line 2434 - Simplnews node handling, sent email, newsletter block and general hooks
Code
function simplenews_theme() {
return array(
'simplenews_block' => array(
'template' => 'simplenews-block',
'arguments' => array(
'tid' => NULL,
),
'pattern' => 'simplenews_block__',
),
'simplenews_status' => array(
'template' => 'simplenews-status',
'file' => 'simplenews.admin.inc',
'arguments' => array(
'status' => NULL,
'source' => NULL,
),
),
'simplenews_newsletter_subject' => array(
'arguments' => array(
'name' => NULL,
'title' => NULL,
'language' => NULL,
),
),
'simplenews_newsletter_body' => array(
'template' => 'simplenews-newsletter-body',
'arguments' => array(
'node' => NULL,
'language' => NULL,
),
'pattern' => 'simplenews_newsletter_body__',
),
'simplenews_newsletter_footer' => array(
'template' => 'simplenews-newsletter-footer',
'arguments' => array(
'node' => NULL,
'key' => NULL,
'language' => NULL,
),
'pattern' => 'simplenews_newsletter_footer__',
),
'simplenews_subscription_list' => array(
'file' => 'simplenews.admin.inc',
'arguments' => array(
'form' => NULL,
),
),
);
}