function _node_limit_interval_interval_options in Node Limit 8
Same name and namespace in other branches
- 6 node_limit_interval/node_limit_interval.module \_node_limit_interval_interval_options()
- 7 node_limit_interval/node_limit_interval.module \_node_limit_interval_interval_options()
Prepare time frame select options.
1 call to _node_limit_interval_interval_options()
- node_limit_interval_node_limit_element in old/
node_limit_interval/ node_limit_interval.module - Implements hook_node_limit_element().
File
- old/
node_limit_interval/ node_limit_interval.module, line 92 - Module to restrict the number of nodes within a time interval.
Code
function _node_limit_interval_interval_options() {
return array(
NODE_LIMIT_INTERVAL_SECONDS => t('Seconds'),
NODE_LIMIT_INTERVAL_MINUTES => t('Minutes'),
NODE_LIMIT_INTERVAL_HOURS => t('Hours'),
NODE_LIMIT_INTERVAL_DAYS => t('Days'),
NODE_LIMIT_INTERVAL_WEEKS => t('Weeks'),
NODE_LIMIT_INTERVAL_MONTHS => t('Months'),
NODE_LIMIT_INTERVAL_YEARS => t('Years'),
);
}