public static function checkboxArrayOption(array $options)
    {
        $transform = [];
        foreach ($options as $key => $value) {
            $transform[] = ['value' => $key, 'label' => $value];
        }
    
        return ['items' => $transform];
    }
public static function checkboxArrayOption(array $options)
    {
        $transform = [];
        foreach ($options as $key => $value) {
            $transform[] = ['value' => $key, 'label' => $value];
        }
    
        return ['items' => $transform];
    }
public static function checkboxArrayOption ( array $ options ) { $ transform = [ ] ; foreach ( $ options as $ key => $ value ) { $ transform [ ] = [ 'value' => $ key , 'label' => $ value ] ; } return [ 'items' => $ transform ] ; }
Create the Options list in the config for a zaa-checkbox-array based on an
key => value pairing array.

In order to get a key value pairing directly from an ActiveRecord Model use:

```php
return Tag::find()->select(['name'])->indexBy('id')->column();
```

Where name is the value and id the key for the array.

@param array $options The array who cares the options with items
@return array
@since 1.0.0
Create the Options list in the config for a zaa - checkbox - array based on an key = > value pairing array .