protected function DefaultFieldCollectionItemHandler::saveEntity in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultFieldCollectionItemHandler::saveEntity()
- 2.0.x src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultFieldCollectionItemHandler::saveEntity()
Parameters
\Drupal\Core\Entity\EntityInterface $entity:
\Drupal\cms_content_sync\PullIntent $intent:
Throws
\Drupal\Core\Entity\EntityStorageException
Overrides EntityHandlerBase::saveEntity
File
- src/
Plugin/ cms_content_sync/ entity_handler/ DefaultFieldCollectionItemHandler.php, line 98
Class
- DefaultFieldCollectionItemHandler
- Class DefaultFieldCollectionItemHandler.
Namespace
Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handlerCode
protected function saveEntity($entity, $intent) {
// Field collections are automatically saved when their host entity is saved.
}