You are here

public function GroupType::setNewRevision in Group 8

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

Code

public function setNewRevision($new_revision) {
  $this->new_revision = $new_revision;
}