function VariantBase::label

Same name in other branches
  1. 9 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::label()
  2. 8.9.x core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::label()
  3. 11.x core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::label()

Overrides VariantInterface::label

1 call to VariantBase::label()
VariantBase::buildConfigurationForm in core/lib/Drupal/Core/Display/VariantBase.php
Form constructor.

File

core/lib/Drupal/Core/Display/VariantBase.php, line 36

Class

VariantBase
Provides a base class for DisplayVariant plugins.

Namespace

Drupal\Core\Display

Code

public function label() {
    return $this->configuration['label'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.