
| Current Path : /var/www/html_old/abi/web/core/lib/Drupal/Core/Entity/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html_old/abi/web/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php |
<?php
namespace Drupal\Core\Entity;
/**
* Provides a trait for accessing synchronization information.
*
* @ingroup entity_api
*/
trait SynchronizableEntityTrait {
/**
* Whether this entity is being created, updated or deleted through a
* synchronization process.
*
* @var bool
*/
protected $isSyncing = FALSE;
/**
* {@inheritdoc}
*/
public function setSyncing($syncing) {
$this->isSyncing = $syncing;
return $this;
}
/**
* {@inheritdoc}
*/
public function isSyncing() {
return $this->isSyncing;
}
}