public function RevisionableEntityBundleInterface::shouldCreateNewRevision in Entity API 8.0
Returns whether a new revision should be created by default.
Return value
bool TRUE if a new revision should be created by default.
1 method overrides RevisionableEntityBundleInterface::shouldCreateNewRevision()
- EnhancedEntityBundle::shouldCreateNewRevision in tests/
modules/ entity_module_test/ src/ Entity/ EnhancedEntityBundle.php - Returns whether a new revision should be created by default.
File
- src/
Entity/ RevisionableEntityBundleInterface.php, line 20 - Contains \Drupal\entity\Entity\RevisionableEntityBundleInterface.
Class
Namespace
Drupal\entity\EntityCode
public function shouldCreateNewRevision();