public function VariantInterface::getWeight
public 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 53
Class
- VariantInterface
- Provides an interface for DisplayVariant plugins.
Namespace
Drupal\Core\DisplayCode
public function getWeight();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Display!VariantInterface.php/function/VariantInterface::getWeight/8.1.x