public function ConfigEntityRevisionsTypeInterface::setNewRevision in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsTypeInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsTypeInterface::setNewRevision()
- 1.x src/ConfigEntityRevisionsTypeInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsTypeInterface::setNewRevision()
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 ConfigEntityRevisionsTypeInterface::setNewRevision()
- ConfigEntityRevisionsType::setNewRevision in src/
Entity/ ConfigEntityRevisionsType.php - Sets whether a new revision should be created by default.
File
- src/
ConfigEntityRevisionsTypeInterface.php, line 39
Class
- ConfigEntityRevisionsTypeInterface
- Provides an interface defining a config_entity_revisions type entity.
Namespace
Drupal\config_entity_revisionsCode
public function setNewRevision($new_revision);