You are here

function newsletter_template_type_load in Newsletter 7.2

Menu argument loader; Load a template type by string.

Parameters

$type: The machine-readable name of a template type to load.

Return value

A template type array or FALSE if $type does not exist.

File

modules/template/newsletter_template.module, line 237
Module for the Newsletter Template Entity

Code

function newsletter_template_type_load($type) {
  return newsletter_template_get_types($type);
}