VariantBase::id

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'];
}
doc_Drupal
2016-10-29 09:53:28
Comments
Leave a Comment

Please login to continue.