You are here

function date_repeat_entity in Date 7

See if the user can access repeat date info on this entity.

1 string reference to 'date_repeat_entity'
date_menu in ./date.module
Implements hook_menu().

File

./date.module, line 44

Code

function date_repeat_entity($entity, $entity_type = 'node') {
  if (date_repeat_type($entity, $entity_type = 'node')) {
    return user_access('view date repeats');
  }
  return FALSE;
}