function NodeStorageInterface::clearRevisionsLanguage
Same name in other branches
- 9 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::clearRevisionsLanguage()
- 10 core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::clearRevisionsLanguage()
- 11.x core/modules/node/src/NodeStorageInterface.php \Drupal\node\NodeStorageInterface::clearRevisionsLanguage()
Unsets the language for all nodes with the given language.
Parameters
\Drupal\Core\Language\LanguageInterface $language: The language object.
1 method overrides NodeStorageInterface::clearRevisionsLanguage()
- NodeStorage::clearRevisionsLanguage in core/
modules/ node/ src/ NodeStorage.php - Unsets the language for all nodes with the given language.
File
-
core/
modules/ node/ src/ NodeStorageInterface.php, line 66
Class
- NodeStorageInterface
- Defines an interface for node entity storage classes.
Namespace
Drupal\nodeCode
public function clearRevisionsLanguage(LanguageInterface $language);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.