You are here

function node_recur_max_future_date_span in Node recur 7

Determine what the max future dates can recur to for a given node type

Parameters

$type: The node type

Return value

The max future time span.

3 calls to node_recur_max_future_date_span()
node_recur_form_node_type_form_alter in ./node_recur.module
Implements hook_form_node_type_form_alter().
node_recur_node_recur_form_validate in ./node_recur.pages.inc
Validate the node recur form
_node_recur_node_recur_form in ./node_recur.pages.inc
Helper function to provide the basics of the form

File

./node_recur.module, line 234

Code

function node_recur_max_future_date_span($type) {
  return variable_get("node_recur_max_span_node_type_{$type}", NULL);
}