You are here

function menu_node_views_relationship_double::label in Menu Node Views 7.2

Get this field's label. TODO: check necessity and validity

Overrides views_handler_relationship::label

File

includes/menu_node_views_relationship_double.inc, line 43

Class

menu_node_views_relationship_double
Relationship handler to create a double jointure, ie through 2 tables: from the base table to the final table through the relation table

Code

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