protected function PathProcessor::getMaxDepth in Sub-pathauto (Sub-path URL Aliases) 8
Gets the max depth that subpaths should be scanned through.
Return value
int The maximum depth.
2 calls to PathProcessor::getMaxDepth()
- PathProcessor::processInbound in src/
PathProcessor.php - Processes the inbound path.
- PathProcessor::processOutbound in src/
PathProcessor.php - Processes the outbound path.
File
- src/
PathProcessor.php, line 217
Class
- PathProcessor
- Processes the inbound path using path alias lookups.
Namespace
Drupal\subpathautoCode
protected function getMaxDepth() {
return $this->configFactory
->get('subpathauto.settings')
->get('depth');
}