public function MediaBundleInterface::setNewRevision in Media entity 8
Sets whether a new revision should be created by default.
Parameters
bool $new_revision: TRUE if a new revision should be created by default.
1 method overrides MediaBundleInterface::setNewRevision()
- MediaBundle::setNewRevision in src/
Entity/ MediaBundle.php - Sets whether a new revision should be created by default.
File
- src/
MediaBundleInterface.php, line 97
Class
- MediaBundleInterface
- Provides an interface defining a media bundle entity.
Namespace
Drupal\media_entityCode
public function setNewRevision($new_revision);