$languagesDropdown->option()
$languagesDropdown->option()
has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$languagesDropdown->option(Kirby\Cms\Language $language): array
Parameters
Name | Type | Default |
---|---|---|
$languagerequired | Kirby\Cms\Language |
no default value |
Return type
array
This method modifies the existing $languagesdropdown
object it is applied to and returns it again.