You are here

public function VariantBase::id in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\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 55
Contains \Drupal\Core\Display\VariantBase.

Class

VariantBase
Provides a base class for DisplayVariant plugins.

Namespace

Drupal\Core\Display

Code

public function id() {
  return $this->configuration['uuid'];
}