protected function ImportExportTestBase::getCalculator in Acquia Content Hub 8.2
Get the dependency calculator.
Return value
\Drupal\depcalc\DependencyCalculator Dependency calculator.
Throws
\Exception
File
- tests/
src/ Kernel/ ImportExportTestBase.php, line 494
Class
- ImportExportTestBase
- Base for testing exports and imports.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
protected function getCalculator() {
return \Drupal::service('entity.dependency.calculator');
}