You are here

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

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_relationship.inc \views_handler_relationship::label()
  2. 6.2 handlers/views_handler_relationship.inc \views_handler_relationship::label()

Get this field's label.

File

handlers/views_handler_relationship.inc, line 57
Definition of views_handler_relationship.

Class

views_handler_relationship
Relationship handler, allows a new version of the primary table to be linked.

Code

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