public function MigrationGroup::calculateDependencies in Migrate Plus 8
Same name and namespace in other branches
- 8.5 src/Entity/MigrationGroup.php \Drupal\migrate_plus\Entity\MigrationGroup::calculateDependencies()
- 8.2 src/Entity/MigrationGroup.php \Drupal\migrate_plus\Entity\MigrationGroup::calculateDependencies()
- 8.3 src/Entity/MigrationGroup.php \Drupal\migrate_plus\Entity\MigrationGroup::calculateDependencies()
- 8.4 src/Entity/MigrationGroup.php \Drupal\migrate_plus\Entity\MigrationGroup::calculateDependencies()
Calculates dependencies and stores them in the dependency property.
Return value
$this
Overrides ConfigEntityBase::calculateDependencies
See also
\Drupal\Core\Config\Entity\ConfigDependencyManager
File
- src/
Entity/ MigrationGroup.php, line 74 - Contains \Drupal\migrate_plus\Entity\MigrationGroup.
Class
- MigrationGroup
- Defines the Migration Group entity.
Namespace
Drupal\migrate_plus\EntityCode
public function calculateDependencies() {
parent::calculateDependencies();
// Make sure we save any explicit module dependencies.
if ($provider = $this
->get('module')) {
$this
->addDependency('module', $provider);
}
return $this->dependencies;
}