function views_handler_field::label

3.x views_handler_field.inc views_handler_field::label()
2.x views_handler_field.inc views_handler_field::label()

Get this field's label.

2 calls to views_handler_field::label()
views_handler_field::admin_summary in handlers/views_handler_field.inc
Provide extra data to the administration form
views_handler_field::options_form in handlers/views_handler_field.inc
Default options form that provides the label widget that all fields should have.

File

handlers/views_handler_field.inc, line 184
@todo.

Class

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

Code

function label() {
  if (!isset($this->options['label'])) {
    return '';
  }
  return $this->options['label'];
}