You are here

public function GroupTypeInterface::setNewRevision in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/GroupTypeInterface.php \Drupal\group\Entity\GroupTypeInterface::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 GroupTypeInterface::setNewRevision()
GroupType::setNewRevision in src/Entity/GroupType.php
Sets whether a new revision should be created by default.

File

src/Entity/GroupTypeInterface.php, line 101

Class

GroupTypeInterface
Provides an interface defining a group type entity.

Namespace

Drupal\group\Entity

Code

public function setNewRevision($new_revision);