In a Joomla 3.x component, a parameter that's frequently listed in the MODELS > FORMS > VIEWNAME.XML file is option_on
or option_off
.
For example;
<field
name="something_amazing"
type="editor"
label="COM_YOURNAME_FORM_LBL_VIEWNAME_SOMETHING_AMAZING"
description="COM_YOURNAME_FORM_DESC_VIEWNAME_SOMETHING_AMAZING"
menu_published="0"
filter="safehtml"
option_on="Yes"
option_off="Yes"
/>
Many of the available parameters are listed on the official documentation, but no matter where I look, I can't seem to find an explanation of these particular fields.
What are they for, and can you give an example of when you might use them?
Thanks in advance!