You are here

public function OpignoAnswerStorageInterface::countDefaultLanguageRevisions in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/OpignoAnswerStorageInterface.php \Drupal\opigno_module\OpignoAnswerStorageInterface::countDefaultLanguageRevisions()

Counts the number of revisions in the default language.

Parameters

\Drupal\opigno_module\Entity\OpignoAnswerInterface $entity: The Answer entity.

Return value

int The number of revisions in the default language.

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

File

src/OpignoAnswerStorageInterface.php, line 51

Class

OpignoAnswerStorageInterface
Defines the storage handler class for Answer entities.

Namespace

Drupal\opigno_module

Code

public function countDefaultLanguageRevisions(OpignoAnswerInterface $entity);