function views_handler_field::theme_functions

3.x views_handler_field.inc views_handler_field::theme_functions()
2.x views_handler_field.inc views_handler_field::theme_functions()
1 call to views_handler_field::theme_functions()
views_handler_field::theme in handlers/views_handler_field.inc
Call out to the theme() function, which probably just calls render() but allows sites to override output fairly easily.

File

handlers/views_handler_field.inc, line 1518
@todo.

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function theme_functions() {
  $themes = array();
  $hook = 'views_view_field';

  $display = $this->view->display[$this->view->current_display];

  if (!empty($display)) {
    $themes[] = $hook . '__' . $this->view->name . '__' . $display->id . '__' . $this->options['id'];
    $themes[] = $hook . '__' . $this->view->name . '__' . $display->id;
    $themes[] = $hook . '__' . $display->id . '__' . $this->options['id'];
    $themes[] = $hook . '__' . $display->id;
    if ($display->id != $display->display_plugin) {
      $themes[] = $hook . '__' . $this->view->name . '__' . $display->display_plugin . '__' . $this->options['id'];
      $themes[] = $hook . '__' . $this->view->name . '__' . $display->display_plugin;
      $themes[] = $hook . '__' . $display->display_plugin . '__' . $this->options['id'];
      $themes[] = $hook . '__' . $display->display_plugin;
    }
  }
  $themes[] = $hook . '__' . $this->view->name . '__' . $this->options['id'];
  $themes[] = $hook . '__' . $this->view->name;
  $themes[] = $hook . '__' . $this->options['id'];
  $themes[] = $hook;

  return $themes;
}