You can get the current CONTROLLER NAME by://Controller NameECHO YII::$app->controller->id;You can get current action name by:echo Yii::$app->controller->action->id;
Your experience on this site will be improved by allowing cookies. Read Cookie Policy