You are here

public function PhotosImageStorageInterface::countDefaultLanguageRevisions in Album Photos 6.0.x

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

Counts the number of revisions in the default language.

Parameters

\Drupal\photos\PhotosImageInterface $image: The image entity.

Return value

int The number of revisions in the default language.

1 method overrides PhotosImageStorageInterface::countDefaultLanguageRevisions()
PhotosImageStorage::countDefaultLanguageRevisions in src/PhotosImageStorage.php
Counts the number of revisions in the default language.

File

src/PhotosImageStorageInterface.php, line 45

Class

PhotosImageStorageInterface
Defines an interface for photos image entity storage classes.

Namespace

Drupal\photos

Code

public function countDefaultLanguageRevisions(PhotosImageInterface $image);