How do I access a custom setting?

You can access a setting by using the setting function that is available in PHP, Blade, and Twig. You simply need to pass your setting group name, a full stop, and then the settings name.

setting(‘acme-my-module.allow_list’)

Articles in this section

Was this article helpful?
0 out of 0 found this helpful