getUser()->getIdentity(); ?> ', [ 'label' => Yii::t('user', 'Logout'), 'url' => \yii\helpers\Url::toRoute('/user/logout') ] ] ]) ?>
Thread