function ContentEntityBase::preSaveRevision
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::preSaveRevision()
- 8.9.x core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::preSaveRevision()
- 10 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::preSaveRevision()
3 calls to ContentEntityBase::preSaveRevision()
- BlockContent::preSaveRevision in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Media::preSaveRevision in core/
modules/ media/ src/ Entity/ Media.php - Node::preSaveRevision in core/
modules/ node/ src/ Entity/ Node.php
3 methods override ContentEntityBase::preSaveRevision()
- BlockContent::preSaveRevision in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Media::preSaveRevision in core/
modules/ media/ src/ Entity/ Media.php - Node::preSaveRevision in core/
modules/ node/ src/ Entity/ Node.php
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php, line 485
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
public function preSaveRevision(EntityStorageInterface $storage, \stdClass $record) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.