protected function extractModuleIds($config)
    {
        $ids = [];

        foreach ($config as $index => $module) {
            if ($module['inactive']) {
                continue;
            }
            $ids[$index] = intval($module['module']);
        }

        return $ids;
    }
protected function extractModuleIds($config)
    {
        $ids = [];

        foreach ($config as $index => $module) {
            if ($module['inactive']) {
                continue;
            }
            $ids[$index] = intval($module['module']);
        }

        return $ids;
    }
protected function extractModuleIds ( $ config ) { $ ids = [ ] ; foreach ( $ config as $ index => $ module ) { if ( $ module [ 'inactive' ] ) { continue ; } $ ids [ $ index ] = intval ( $ module [ 'module' ] ) ; } return $ ids ; }
Extract module ids from navbar config.

@param array $config The navbar config.

@return array
Extract module ids from navbar config .