You are here

protected function PullIntent::resolveMissingDependencies in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::resolveMissingDependencies()
  2. 2.0.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::resolveMissingDependencies()

Resolve all references to the entity that has just been pulled if they're missing at other content.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

\Drupal\Core\Entity\EntityStorageException

1 call to PullIntent::resolveMissingDependencies()
PullIntent::execute in src/PullIntent.php
Pull the provided entity.

File

src/PullIntent.php, line 540

Class

PullIntent

Namespace

Drupal\cms_content_sync

Code

protected function resolveMissingDependencies() {

  // Ignore deleted entities.
  if ($this
    ->getEntity()) {
    MissingDependencyManager::resolveDependencies($this
      ->getEntity());
  }
}