function RelationshipPluginBase::label

Get this field's label.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php, line 67
Definition of Drupal\views\Plugin\views\relationship\RelationshipPluginBase.

Class

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

Namespace

Drupal\views\Plugin\views\relationship

Code

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