public function EntityAliasTypeBase::calculateDependencies in Pathauto 8
File
- src/
Plugin/ pathauto/ AliasType/ EntityAliasTypeBase.php, line 307
Class
- EntityAliasTypeBase
- A pathauto alias type plugin for entities with canonical links.
Namespace
Drupal\pathauto\Plugin\pathauto\AliasTypeCode
public function calculateDependencies() {
$dependencies = [];
$dependencies['module'][] = $this->entityTypeManager
->getDefinition($this
->getEntityTypeId())
->getProvider();
return $dependencies;
}