public VariantBase::id()
Returns the unique ID for the display variant.
Return value
string The display variant ID.
Overrides VariantInterface::id
File
- core/lib/Drupal/Core/Display/VariantBase.php, line 50
Class
- VariantBase
- Provides a base class for DisplayVariant plugins.
Namespace
Drupal\Core\Display
Code
public function id() { return $this->configuration['uuid']; }
Please login to continue.