Mapping plugin settings to checkboxes I'm struggling to figure out how to map an array of values in a plugins settings to a group of checkboxes:

protected function defineSettings()
{
    return array(
        'createGlobals' =&gt; array(
            AttributeType::Mixed, 'default' =&gt; array(
                "twitter" =&gt; true,
                "facebook" =&gt; true,
                "linkedIn" =&gt; true
                )
            )
        );
}


Here's one checkbox in my plugins template:

{{  forms.checkboxField({
  label: "&lt;strong&gt;Twitter&lt;/strong&gt;"|t,
  name: '???',
  value: 'on',
  checked: settings.createGlobals.twitter
}) }}


As you can see, I've omitted the name value. Is there any way of mapping this name to the settings.createGlobals object?
Sure:

{{  forms.checkboxField({
      label: "&lt;strong&gt;Twitter&lt;/strong&gt;"|t,
      name: 'createGlobals[twitter]',
      value : 'on',
      checked: settings.createGlobals.twitter
}) }}