Gets the max depth that subpaths should be scanned through.
Return value
int The maximum depth.
2 calls to PathProcessor::getMaxDepth()
Fichier
-
src/
PathProcessor.php, line 297
Classe
- PathProcessor
- Processes the inbound path using path alias lookups.
Namespace
Drupal\subpathautoCode
protected function getMaxDepth() {
return $this->configFactory
->get('subpathauto.settings')
->get('depth');
}