\LanguageDropdownField
An extension to dropdown field, pre-configured to list languages.
The languages already used in the site will be on top.
Synopsis
class LanguageDropdownField
extends GroupedDropdownField
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void __construct()
- public void Type()
- public void getAttributes()
- public locale getLocaleForObject()
Hierarchy
Extends
- GroupedDropdownField
Members
private
- $allowed_actions
Methods
public
- __construct() — Create a new LanguageDropdownField
- Type()
- getAttributes()
- getLocaleForObject() — Get the locale for an object that has the Translatable extension.