Classes/Service/ConfigurationService.php
public function getBackendDisplayMode(): string
    {
        $backendDisplayMode = $this->get('backendDisplayMode');
        $validModes = ['current', 'childs', 'both'];
        if (!\in_array($backendDisplayMode, $validModes, true)) {
            $backendDisplayMode = 'current';
        }

        return $backendDisplayMode;
    }
public function getBackendDisplayMode(): string
    {
        $backendDisplayMode = $this->get('backendDisplayMode');
        $validModes = ['current', 'childs', 'both'];
        if (!\in_array($backendDisplayMode, $validModes, true)) {
            $backendDisplayMode = 'current';
        }

        return $backendDisplayMode;
    }
public function getBackendDisplayMode ( ) : string { $ backendDisplayMode = $ this -> get ( 'backendDisplayMode' ) ; $ validModes = [ 'current' , 'childs' , 'both' ] ; if ( ! \ in_array ( $ backendDisplayMode , $ validModes , true ) ) { $ backendDisplayMode = 'current' ; } return $ backendDisplayMode ; }
Get backend display mode.

@return string
Get backend display mode .