You are here

public function VariantBase::label in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::label()
  2. 9 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::label()

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