method getPrimariesLangs documentation in bbn\Appui\Project
Returns languages that have primary in cfg
function()
{
$uid_languages = $this->options->fromCode('languages', 'i18n', 'appui');
$languages = $this->options->fullTree($uid_languages);
$primaries = array_values(
array_filter(
$languages['items'],
function ($v) {
return !empty($v['primary']);
}
)
);
return $primaries ?: [];
}
Returns languages that have primary in cfg BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions