1.20.x views_handler_field.inc views_handler_field::get_elements()

Provide a list of elements valid for field HTML.

This function can be overridden by fields that want more or fewer elements available, though this seems like it would be an incredibly rare occurence.

File

modules/views/handlers/views_handler_field.inc, line 265
@todo.

Class

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

Code

function get_elements() {
  static $elements = NULL;
  if (!isset($elements)) {
    $elements = config_get('views.settings', 'field_rewrite_elements');
  }

  return $elements;
}