function ContentEntityBase::preSaveRevision
6 calls to ContentEntityBase::preSaveRevision()
- BlockContent::preSaveRevision in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Acts on a revision before it gets saved.
- BlockContent::preSaveRevision in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Acts on a revision before it gets saved.
- Media::preSaveRevision in core/
modules/ media/ src/ Entity/ Media.php - Acts on a revision before it gets saved.
- Media::preSaveRevision in core/
modules/ media/ src/ Entity/ Media.php - Acts on a revision before it gets saved.
- Node::preSaveRevision in core/
modules/ node/ src/ Entity/ Node.php - Acts on a revision before it gets saved.
3 methods override ContentEntityBase::preSaveRevision()
- BlockContent::preSaveRevision in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Acts on a revision before it gets saved.
- Media::preSaveRevision in core/
modules/ media/ src/ Entity/ Media.php - Acts on a revision before it gets saved.
- Node::preSaveRevision in core/
modules/ node/ src/ Entity/ Node.php - Acts on a revision before it gets saved.
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) {
}