You are here

public function PhotosImageInterface::getWeight in Album Photos 6.0.x

Same name and namespace in other branches
  1. 8.5 src/PhotosImageInterface.php \Drupal\photos\PhotosImageInterface::getWeight()

Gets the image weight.

Return value

int Weight of the image for custom sort order.

1 method overrides PhotosImageInterface::getWeight()
PhotosImage::getWeight in src/Entity/PhotosImage.php
Gets the image weight.

File

src/PhotosImageInterface.php, line 124

Class

PhotosImageInterface
Provides an interface defining a photos image entity.

Namespace

Drupal\photos

Code

public function getWeight();