[ 'label' => 'Access Profile & Settings', 'description' => 'View and access the user profile and settings module', 'group' => 'User Profile' ], ]; } public function configure(ModuleContextInterface $context): void { if ($context instanceof BrowserModuleContextInterface) { $context->registerModule($this, 'UserProfile', 'static/module.mjs'); } } }