Service
class Service (View source)
Properties
protected | $entityManager |
Methods
__construct(EntityManagerInterface $entityManager)
No description
getByID($id)
No description
Locale|null
getDefaultLocale()
Get the default site locale (if set).
updatePluralSettings(LocaleInterface $l, $numPlurals = null, $pluralRule = '', $pluralCases = [])
No description
Details
__construct(EntityManagerInterface $entityManager)
No description
getByID($id)
No description
Locale|null
getDefaultLocale()
Get the default site locale (if set).
setDefaultLocale(Locale $newDefaultLocale)
No description
add(Site $site, $language, $country)
No description
updatePluralSettings(LocaleInterface $l, $numPlurals = null, $pluralRule = '', $pluralCases = [])
No description
delete(LocaleEntityInterface $locale)
No description