You are here

public function views_handler_field::label in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_field.inc \views_handler_field::label()
  2. 6.2 handlers/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 provides the label widget that all fields should have.

File

handlers/views_handler_field.inc, line 211
Definition of views_handler_field.

Class

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

Code

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