Backend\Core\Engine\Navigation::getSelectedKeys PHP Method

getSelectedKeys() private method

Get the selected keys based on the current module/actions
private getSelectedKeys ( ) : array
return array
    private function getSelectedKeys()
    {
        $keys = array();
        foreach ($this->navigation as $key => $value) {
            $keys = $this->compareURL($value, $key, array());
            // stop when we found something
            if (!empty($keys)) {
                break;
            }
        }
        return $keys;
    }