function views_handler_field::theme_functions

Build a list of suitable theme functions for this view.

1 call to views_handler_field::theme_functions()
views_handler_field::theme in handlers/views_handler_field.inc
Call out to the theme() function.

File

handlers/views_handler_field.inc, line 1602

Class

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

Code

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