/** * Method to get the list of menus for the field options. * * @return array The field option objects. * * @since 1.6 */ protected function getOptions() { // Merge any additional options in the XML definition. $options = array_merge(parent::getOptions(), JHtml::_('menu.menus')); return $options; }