You are here

public function VariantInterface::adminLabel in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::adminLabel()

Returns the admin-facing display variant label.

This is for the type of display variant, not the configured variant itself.

Return value

string The display variant administrative label.

1 method overrides VariantInterface::adminLabel()
VariantBase::adminLabel in core/lib/Drupal/Core/Display/VariantBase.php
Returns the admin-facing display variant label.

File

core/lib/Drupal/Core/Display/VariantInterface.php, line 38

Class

VariantInterface
Provides an interface for DisplayVariant plugins.

Namespace

Drupal\Core\Display

Code

public function adminLabel();