class LanguageObserver (View source)

Methods

void
created(Language $language)

Handle the Language "created" event.

void
updated(Language $language)

Handle the Language "updated" event.

void
deleting(Language $language)

Handle the Language "deleted" event.

void
forceDeleted(Language $language)

Handle the Language "forceDeleted" event.

void
ensureOnlyOneDefault(Language $savedLanguage)

Ensures that only one default language exists.

Details

void created(Language $language)

Handle the Language "created" event.

Parameters

Language $language

Return Value

void

void updated(Language $language)

Handle the Language "updated" event.

Parameters

Language $language

Return Value

void

void deleting(Language $language)

Handle the Language "deleted" event.

Parameters

Language $language

Return Value

void

void forceDeleted(Language $language)

Handle the Language "forceDeleted" event.

Parameters

Language $language

Return Value

void

protected void ensureOnlyOneDefault(Language $savedLanguage)

Ensures that only one default language exists.

Parameters

Language $savedLanguage

The language that was just saved.

Return Value

void