Bundle used to set default parameters for everything
##Installation:
twig:
#...
globals:
defaults: @ysettings
This config use only in pair with YoushidoAdminBundle
imports:
#...
- { resource: ../../vendor/youshido/settings/Resources/config/admin/structure.settings.yml }
##Use it:
$this->get('ysettings')->getParameter($key, $defaultValue);
<title>{{ defaults.parameter(key) }}</title>