You are here

function views_handler_relationship::label in Views (for Drupal 7) 6.2

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

Get this field's label.

File

handlers/views_handler_relationship.inc, line 53
Views' relationship handlers.

Class

views_handler_relationship
Simple relationship handler that allows a new version of the primary table to be linked in.

Code

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