function NodeStorageInterface::countDefaultLanguageRevisions

Same name in other branches
  1. 9 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::countDefaultLanguageRevisions()
  2. 10 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::countDefaultLanguageRevisions()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.