Neos\Neos\TypoScript\MenuImplementation::getMaximumLevels PHP Метод

getMaximumLevels() публичный Метод

Maximum number of levels which should be rendered in this menu.
public getMaximumLevels ( ) : integer
Результат integer
    public function getMaximumLevels()
    {
        if ($this->maximumLevels === null) {
            $this->maximumLevels = $this->tsValue('maximumLevels');
            if ($this->maximumLevels > self::MAXIMUM_LEVELS_LIMIT) {
                $this->maximumLevels = self::MAXIMUM_LEVELS_LIMIT;
            }
        }
        return $this->maximumLevels;
    }