You are here

function _simpleads_campaign_new in SimpleAds 7

Menu callback. Redirect to SimpleAd Campiagn creation form.

1 string reference to '_simpleads_campaign_new'
simpleads_campaigns_menu in modules/simpleads_campaigns/simpleads_campaigns.module
Implements hook_menu().

File

modules/simpleads_campaigns/campaigns.admin.inc, line 12
SimpleAds Campaigns menu callbacks.

Code

function _simpleads_campaign_new() {
  drupal_goto('node/add/simpleads-campaign', array(
    'query' => array(
      'destination' => 'admin/content/simpleads_campaigns',
    ),
  ));
}