You are here

public function IndividualType::shouldCreateNewRevision in CRM Core 8.3

Same name and namespace in other branches
  1. 8 modules/crm_core_contact/src/Entity/IndividualType.php \Drupal\crm_core_contact\Entity\IndividualType::shouldCreateNewRevision()
  2. 8.2 modules/crm_core_contact/src/Entity/IndividualType.php \Drupal\crm_core_contact\Entity\IndividualType::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

modules/crm_core_contact/src/Entity/IndividualType.php, line 147

Class

IndividualType
CRM Individual Type Entity Class.

Namespace

Drupal\crm_core_contact\Entity

Code

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