function sendinblue_campaign_page in SendinBlue 7
Same name and namespace in other branches
- 7.2 includes/sendinblue_campaign.admin.inc \sendinblue_campaign_page()
Display Campaign page of module.
Return value
array Render array.
1 string reference to 'sendinblue_campaign_page'
- sendinblue_menu in ./
sendinblue.module - Implements hook_menu().
File
- includes/
sendinblue_campaign.admin.inc, line 13 - Sendinblue module campaign admin settings.
Code
function sendinblue_campaign_page() {
$page_html = '<div id="wrap" class="box-border-box container-fluid">';
$page_html .= SendinblueManager::generateCampaignLogin() . '</div>';
$output = array(
'main_wrapper' => array(
'#type' => 'markup',
'#markup' => $page_html,
),
'#attached' => array(
'css' => array(
drupal_get_path('module', 'sendinblue') . '/css/admin-setting.css',
),
),
);
return $output;
}