You are here

public property CivicrmEntity::$drupal_crud in CiviCRM Entity 8.3

Flag to denote if the entity is currently going through Drupal CRUD hooks.

We need to trigger the Drupal CRUD hooks when entities are edited in Civi, but we need a way to ensure they aren't double triggered when already going through the Drupal CRUD process.

Type: bool

File

src/Entity/CivicrmEntity.php, line 37

Class

CivicrmEntity
Entity class for CiviCRM entities.

Namespace

Drupal\civicrm_entity\Entity

Code

public $drupal_crud = FALSE;