You are here

public function VariantInterface::getWeight in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::getWeight()
  2. 9 core/lib/Drupal/Core/Display/VariantInterface.php \Drupal\Core\Display\VariantInterface::getWeight()

Returns the weight of the display variant.

Return value

int The display variant weight.

File

core/lib/Drupal/Core/Display/VariantInterface.php, line 54

Class

VariantInterface
Provides an interface for DisplayVariant plugins.

Namespace

Drupal\Core\Display

Code

public function getWeight();