VariantBase::label

public VariantBase::label()

Returns the user-facing display variant label.

Return value

string The display variant label.

Overrides VariantInterface::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'];
}
doc_Drupal
2016-10-29 09:53:28
Comments
Leave a Comment

Please login to continue.