function 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.
Deprecated
in drupal:11.3.0 and is removed from drupal:13.0.0. There is no replacement.
See also
https://www.drupal.org/node/3519187
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 60
Class
- NodeStorageInterface
- Defines an interface for node entity storage classes.
Namespace
Drupal\nodeCode
public function countDefaultLanguageRevisions(NodeInterface $node);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.