You are here

function date_block_identifier in Date 8

Same name and namespace in other branches
  1. 6.2 date_api.module \date_block_identifier()
  2. 7.3 date_views/date_views.module \date_block_identifier()
  3. 7 date_views/date_views.module \date_block_identifier()
  4. 7.2 date_views/date_views.module \date_block_identifier()
1 call to date_block_identifier()
date_pager_url in date_views/date_views.module
A version of date_real_url that formats links correctly for the new Date pager.

File

date_views/date_views.module, line 232

Code

function date_block_identifier($view) {
  if (!empty($view->block_identifier)) {
    return $view->block_identifier;
  }
  return isset($view->date_info->block_identifier) ? $view->date_info->block_identifier : NULL;
}