You are here

public function GroupType::shouldCreateNewRevision in Group 2.0.x

Same name and namespace in other branches
  1. 8 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\Entity

Code

public function shouldCreateNewRevision() {
  return $this->new_revision;
}