public function GroupType::shouldCreateNewRevision in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/GroupType.php \Drupal\group\Entity\GroupType::shouldCreateNewRevision()
Gets whether a new revision should be created by default.
Return value
bool TRUE if a new revision should be created by default.
Overrides RevisionableEntityBundleInterface::shouldCreateNewRevision
File
- src/
Entity/ GroupType.php, line 217
Class
- GroupType
- Defines the Group type configuration entity.
Namespace
Drupal\group\EntityCode
public function shouldCreateNewRevision() {
return $this->new_revision;
}