function VariantInterface::label
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::label()
- 10 core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::label()
- 11.x core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::label()
Returns the user-facing display variant label.
Return value
string The display variant label.
1 method overrides VariantInterface::label()
- VariantBase::label in core/
lib/ Drupal/ Core/ Display/ VariantBase.php - Returns the user-facing display variant label.
File
-
core/
lib/ Drupal/ Core/ Display/ VariantInterface.php, line 28
Class
- VariantInterface
- Provides an interface for DisplayVariant plugins.
Namespace
Drupal\Core\DisplayCode
public function label();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.