public function OpignoAnswerStorageInterface::countDefaultLanguageRevisions in Opigno module 8
Same name and namespace in other branches
- 3.x 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_moduleCode
public function countDefaultLanguageRevisions(OpignoAnswerInterface $entity);