private function getModuleProposal()
    {
        $moduleNames = [];
        foreach (Yii::$app->getApplicationModules() as $id => $obj) {
            $moduleNames[$id] = $id;
        }

        return $moduleNames;
    }
private function getModuleProposal()
    {
        $moduleNames = [];
        foreach (Yii::$app->getApplicationModules() as $id => $obj) {
            $moduleNames[$id] = $id;
        }

        return $moduleNames;
    }
private function getModuleProposal ( ) { $ moduleNames = [ ] ; foreach ( Yii :: $ app -> getApplicationModules ( ) as $ id => $ obj ) { $ moduleNames [ $ id ] = $ id ; } return $ moduleNames ; }
Get an array with all modules where you can generate blocks for.

@return array
Get an array with all modules where you can generate blocks for .