public function IndividualType::shouldCreateNewRevision in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_contact/src/Entity/IndividualType.php \Drupal\crm_core_contact\Entity\IndividualType::shouldCreateNewRevision()
- 8 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\EntityCode
public function shouldCreateNewRevision() {
return $this->new_revision;
}