You are here

private function ImportEntityManager::pathAliasMovedToSeparateModule in Acquia Content Hub 8

Checks that path alias subsystem has been moved to the separate module.

Return value

bool TRUE in the case when Drupal version higher than 8.8.0.

See also

https://www.drupal.org/node/3092086

2 calls to ImportEntityManager::pathAliasMovedToSeparateModule()
ImportEntityManager::getPathByAlias in src/ImportEntityManager.php
Returns path by alias.
ImportEntityManager::importRemoteEntityNoDependencies in src/ImportEntityManager.php
Saves an Entity without taking care of dependencies.

File

src/ImportEntityManager.php, line 1041

Class

ImportEntityManager
Provides a service for managing imported entities' actions.

Namespace

Drupal\acquia_contenthub

Code

private function pathAliasMovedToSeparateModule() {
  return version_compare(\Drupal::VERSION, '8.8.0', '>=');
}