カスタムプラグインの中で現在のユーザーを取得する
2021-07-12
1分で読了
更新: 2025-12-14
目次
$currentUser = Craft::$app->getUser()->getIdentity();