public function GroupType::setNewRevision in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/GroupType.php \Drupal\group\Entity\GroupType::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.
Overrides GroupTypeInterface::setNewRevision
File
- src/
Entity/ GroupType.php, line 224
Class
- GroupType
- Defines the Group type configuration entity.
Namespace
Drupal\group\EntityCode
public function setNewRevision($new_revision) {
$this->new_revision = $new_revision;
}