protected function EntityHandlerBase::saveEntity in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::saveEntity()
- 2.1.x src/Plugin/EntityHandlerBase.php \Drupal\cms_content_sync\Plugin\EntityHandlerBase::saveEntity()
Parameters
\Drupal\Core\Entity\EntityInterface $entity:
\Drupal\cms_content_sync\PullIntent $intent:
Throws
\Drupal\Core\Entity\EntityStorageException
1 call to EntityHandlerBase::saveEntity()
- EntityHandlerBase::setEntityValues in src/
Plugin/ EntityHandlerBase.php - Set the values for the pulled entity.
1 method overrides EntityHandlerBase::saveEntity()
- DefaultFieldCollectionItemHandler::saveEntity in src/
Plugin/ cms_content_sync/ entity_handler/ DefaultFieldCollectionItemHandler.php
File
- src/
Plugin/ EntityHandlerBase.php, line 511
Class
- EntityHandlerBase
- Common base class for entity handler plugins.
Namespace
Drupal\cms_content_sync\PluginCode
protected function saveEntity($entity, $intent) {
$entity
->save();
}