Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow panel wise configurations #42

Closed
wants to merge 1 commit into from

Conversation

iliyas-inode
Copy link

With this PR, now this plugin can have different configurations for each panels. by default this will get config values from global config file. However we can override those config panel wise while declaring plugin for each panel.

For example, we can config flag/native/locales for particular panel only using

FilamentLanguageSwitchPlugin::make()
    ->native()
    ->flag()
    ->locales(['en', 'hi', 'ta'])

@bezhanSalleh
Copy link
Owner

thanks. and check in #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants