You are here

function pollim_type_load in Poll Improved 7

Menu argument loader; Load a pollim type by string.

Parameters

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

Return value

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

File

./pollim.module, line 210
Module for the Pollim Entity - a starting point to create your own Entity and associated administration interface

Code

function pollim_type_load($type) {
  return pollim_get_types($type);
}