1 views_handler_field_prerender_list.inc views_handler_field_prerender_list::allow_advanced_render()

Determine if advanced rendering is allowed.

By default, advanced rendering will NOT be allowed if the class inheriting from this does not implement a 'render_items' method.

Overrides views_handler_field::allow_advanced_render

File

core/modules/views/handlers/views_handler_field_prerender_list.inc, line 157
Definition of views_handler_field_prerender_list.

Class

views_handler_field_prerender_list
Field handler to provide a list of items.

Code

function allow_advanced_render() {
  // Note that the advanced render bits also use the presence of
  // this method to determine if it needs to render items as a list.
  return method_exists($this, 'render_item');
}