You are here

function RelationshipPluginBase::label in Views (for Drupal 7) 8.3

Get this field's label.

File

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'];
}