public function VariantBase::label in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::label()
Returns the user-facing display variant label.
Return value
string The display variant label.
Overrides VariantInterface::label
1 call to VariantBase::label()
- VariantBase::buildConfigurationForm in core/
lib/ Drupal/ Core/ Display/ VariantBase.php - Form constructor.
File
- core/
lib/ Drupal/ Core/ Display/ VariantBase.php, line 41 - Contains \Drupal\Core\Display\VariantBase.
Class
- VariantBase
- Provides a base class for DisplayVariant plugins.
Namespace
Drupal\Core\DisplayCode
public function label() {
return $this->configuration['label'];
}