You are here

public function NewsletterTemplateController::create in Newsletter 7

Same name and namespace in other branches
  1. 7.2 modules/template/includes/newsletter_template.controller.inc \NewsletterTemplateController::create()

File

includes/newsletter.template.controller.inc, line 17
Controller class definition file for newsletter_template entity.

Class

NewsletterTemplateController
Newsletter Template Controller

Code

public function create() {
  $template = new stdClass();
  $template->subject = NULL;
  $template->basic = 0;
  $template->exposed = 0;
  return $template;
}