1 date.views.inc date_block_identifier($view)

Identifier of a date block.

File

core/modules/date/views/date.views.inc, line 328
Defines date-related Views data and plugins:

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;
}