function ViewMode::calculateDependencies
Same name in other branches
- 9 core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php \Drupal\node\Plugin\migrate\source\d6\ViewMode::calculateDependencies()
Overrides DrupalSqlBase::calculateDependencies
File
-
core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ ViewMode.php, line 71
Class
- ViewMode
- The view mode source.
Namespace
Drupal\node\Plugin\migrate\source\d6Code
public function calculateDependencies() {
$this->dependencies = parent::calculateDependencies();
if (isset($this->configuration['constants']['targetEntityType'])) {
$this->addDependency('module', $this->entityTypeManager
->getDefinition($this->configuration['constants']['targetEntityType'])
->getProvider());
}
return $this->dependencies;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.