You are here

protected function DefaultFieldCollectionItemHandler::saveEntity in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 src/Plugin/cms_content_sync/entity_handler/DefaultFieldCollectionItemHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\entity_handler\DefaultFieldCollectionItemHandler::saveEntity()
  2. 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_handler

Code

protected function saveEntity($entity, $intent) {

  // Field collections are automatically saved when their host entity is saved.
}