function VariantInterface::adminLabel
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::adminLabel()
- 10 core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::adminLabel()
- 11.x 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\DisplayCode
public function adminLabel();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.