You are here

public function NodeStorageInterface::countDefaultLanguageRevisions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::countDefaultLanguageRevisions()
  2. 9 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::countDefaultLanguageRevisions()

Counts the number of revisions in the default language.

Parameters

\Drupal\node\NodeInterface $node: The node entity.

Return value

int The number of revisions in the default language.

1 method overrides NodeStorageInterface::countDefaultLanguageRevisions()
NodeStorage::countDefaultLanguageRevisions in core/modules/node/src/NodeStorage.php
Counts the number of revisions in the default language.

File

core/modules/node/src/NodeStorageInterface.php, line 45

Class

NodeStorageInterface
Defines an interface for node entity storage classes.

Namespace

Drupal\node

Code

public function countDefaultLanguageRevisions(NodeInterface $node);