trait SynchronizableEntityTrait
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php \Drupal\Core\Entity\SynchronizableEntityTrait
- 8.9.x core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php \Drupal\Core\Entity\SynchronizableEntityTrait
- 11.x core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php \Drupal\Core\Entity\SynchronizableEntityTrait
Provides a trait for accessing synchronization information.
Hierarchy
- trait \Drupal\Core\Entity\SynchronizableEntityTrait
Related topics
1 file declares its use of SynchronizableEntityTrait
- ConfigEntityBase.php in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php
File
-
core/
lib/ Drupal/ Core/ Entity/ SynchronizableEntityTrait.php, line 10
Namespace
Drupal\Core\EntityView source
trait SynchronizableEntityTrait {
/**
* Is entity being created updated or deleted through synchronization process.
*
* @var bool
*/
protected $isSyncing = FALSE;
/**
* {@inheritdoc}
*/
public function setSyncing($syncing) {
$this->isSyncing = $syncing;
return $this;
}
/**
* {@inheritdoc}
*/
public function isSyncing() {
return $this->isSyncing;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
SynchronizableEntityTrait::$isSyncing | protected | property | Is entity being created updated or deleted through synchronization process. |
SynchronizableEntityTrait::isSyncing | public | function | |
SynchronizableEntityTrait::setSyncing | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.