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']; }
Please login to continue.