Gets the max depth that subpaths should be scanned through.

Return value

int The maximum depth.

2 calls to PathProcessor::getMaxDepth()
PathProcessor::processInbound dans src/PathProcessor.php
PathProcessor::processOutbound dans src/PathProcessor.php

Fichier

src/PathProcessor.php, line 297

Classe

PathProcessor
Processes the inbound path using path alias lookups.

Namespace

Drupal\subpathauto

Code

protected function getMaxDepth() {
    return $this->configFactory
        ->get('subpathauto.settings')
        ->get('depth');
}