API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Language%...

This is the first line of the class description comment:

Provides a simple get and set wrapper to a language object.

This should be:

Provides a simple get and set wrapper to the default language object.

Comments

michaellenahan’s picture

To clarify: the class is Language, but the actual run-time object being used is the *default* language object.

internetdevels’s picture

Status: Active » Needs review
StatusFileSize
new616 bytes

Small and simple patch attached.

tstoeckler’s picture

Status: Needs review » Reviewed & tested by the community

Yup, looks good. Thanks!

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks again everyone! Committed to 8.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.