public function PathautoPattern::calculateDependencies in Pathauto 8
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/ PathautoPattern.php, line 169
Class
- PathautoPattern
- Defines the Pathauto pattern entity.
Namespace
Drupal\pathauto\EntityCode
public function calculateDependencies() {
parent::calculateDependencies();
$this
->calculatePluginDependencies($this
->getAliasType());
foreach ($this
->getSelectionConditions() as $instance) {
$this
->calculatePluginDependencies($instance);
}
return $this
->getDependencies();
}