Back to ContentlanguageField class

Method getOptions

protected array
getOptions
()
Method to get the field options for content languages.
Returns
  • array The options the field is going to show.
Since
  • 1.6

Method getOptions - Source code

/**
 * Method to get the field options for content languages.
 *
 * @return  array  The options the field is going to show.
 *
 * @since   1.6
 */
protected function getOptions()
{
    return array_merge(parent::getOptions(), HTMLHelper::_('contentlanguage.existing'));
}