Yii::$app->runAction('new_controller/new_action', $params);
I believe this can be used to call a controller action from another controller.
Is there a way to call a controller action that resides in another module?
Something like:
Yii::$app->runAction('/route/to/other/module/new_controller/new_action', $params);
Is this possible?
Its possible with the function
runAction()in Module. Check the documentation here