You are here

function node_recur_allow_past_dates in Node recur 7

Determine if dates in the past are allowed for a node type

Parameters

$type: The node type

Return value

TRUE if past dates are allowed, otherwise FALSE.

4 calls to node_recur_allow_past_dates()
node_recur_form_node_type_form_alter in ./node_recur.module
Implements hook_form_node_type_form_alter().
node_recur_generate_dates_days in ./node_recur.module
Generate an array of recurring dates based on days
node_recur_generate_dates_rule in ./node_recur.module
Generate an array of recurring dates based on the provided rule criteria
node_recur_node_recur_form_validate in ./node_recur.pages.inc
Validate the node recur form

File

./node_recur.module, line 221

Code

function node_recur_allow_past_dates($type) {
  return variable_get("node_recur_allow_past_dates_node_type_{$type}", FALSE);
}