NodeStorageInterface::userRevisionIds

public NodeStorageInterface::userRevisionIds(AccountInterface $account) Gets a list of revision IDs having a given user as node author. Parameters \Drupal\Core\Session\AccountInterface $account: The user entity. Return value int[] Node revision IDs (in ascending order). File core/modules/node/src/NodeStorageInterface.php, line 34 Class NodeStorageInterface Defines an interface for node entity storage classes. Namespace Drupal\node Code public function userRevisionIds(AccountInterface

NodeStorageInterface::updateType

public NodeStorageInterface::updateType($old_type, $new_type) Updates all nodes of one type to be of another type. Parameters string $old_type: The current node type of the nodes. string $new_type: The new node type of the nodes. Return value int The number of nodes whose node type field was modified. File core/modules/node/src/NodeStorageInterface.php, line 58 Class NodeStorageInterface Defines an interface for node entity storage classes. Namespace Drupal\node Code public function

NodeStorageInterface::revisionIds

public NodeStorageInterface::revisionIds(NodeInterface $node) Gets a list of node revision IDs for a specific node. Parameters \Drupal\node\NodeInterface $node: The node entity. Return value int[] Node revision IDs (in ascending order). File core/modules/node/src/NodeStorageInterface.php, line 23 Class NodeStorageInterface Defines an interface for node entity storage classes. Namespace Drupal\node Code public function revisionIds(NodeInterface $node);

NodeStorageInterface::countDefaultLanguageRevisions

public NodeStorageInterface::countDefaultLanguageRevisions(NodeInterface $node) 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. 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(NodeInter

NodeStorageInterface::clearRevisionsLanguage

public NodeStorageInterface::clearRevisionsLanguage(LanguageInterface $language) Unsets the language for all nodes with the given language. Parameters \Drupal\Core\Language\LanguageInterface $language: The language object. File core/modules/node/src/NodeStorageInterface.php, line 66 Class NodeStorageInterface Defines an interface for node entity storage classes. Namespace Drupal\node Code public function clearRevisionsLanguage(LanguageInterface $language);

NodeStorageInterface

Defines an interface for node entity storage classes. Hierarchy interface \Drupal\Core\Entity\EntityStorageInterfaceinterface \Drupal\Core\Entity\ContentEntityStorageInterfaceinterface \Drupal\node\NodeStorageInterface File core/modules/node/src/NodeStorageInterface.php, line 12 Namespace Drupal\node Members Name Modifiers Type Description ContentEntityStorageInterface::createTranslation public function Constructs a new entity translation object, without permanently sa

NodeStorage::userRevisionIds

public NodeStorage::userRevisionIds(AccountInterface $account) Gets a list of revision IDs having a given user as node author. Parameters \Drupal\Core\Session\AccountInterface $account: The user entity. Return value int[] Node revision IDs (in ascending order). Overrides NodeStorageInterface::userRevisionIds File core/modules/node/src/NodeStorage.php, line 30 Class NodeStorage Defines the storage handler class for nodes. Namespace Drupal\node Code public function userRevisionIds(Acco

NodeStorage::updateType

public NodeStorage::updateType($old_type, $new_type) Updates all nodes of one type to be of another type. Parameters string $old_type: The current node type of the nodes. string $new_type: The new node type of the nodes. Return value int The number of nodes whose node type field was modified. Overrides NodeStorageInterface::updateType File core/modules/node/src/NodeStorage.php, line 47 Class NodeStorage Defines the storage handler class for nodes. Namespace Drupal\node Code public fu

NodeStorage::revisionIds

public NodeStorage::revisionIds(NodeInterface $node) Gets a list of node revision IDs for a specific node. Parameters \Drupal\node\NodeInterface $node: The node entity. Return value int[] Node revision IDs (in ascending order). Overrides NodeStorageInterface::revisionIds File core/modules/node/src/NodeStorage.php, line 20 Class NodeStorage Defines the storage handler class for nodes. Namespace Drupal\node Code public function revisionIds(NodeInterface $node) { return $this->data

NodeStorage::countDefaultLanguageRevisions

public NodeStorage::countDefaultLanguageRevisions(NodeInterface $node) 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. Overrides NodeStorageInterface::countDefaultLanguageRevisions File core/modules/node/src/NodeStorage.php, line 40 Class NodeStorage Defines the storage handler class for nodes. Namespace Drupal\node Code public function countDefaultL