public function buildOptions(array $options)
    {
        $options = array_merge(
            array(
                'link' => null,
                'icon' => null,
            ),
            $options
        );

        if (isset($options['link']) && $options['link'] !== null) {
            $options['extras']['link'] = (array) $options['link'];
        }
        $options['extras']['icon'] = $options['icon'];
        return $options;
    }
public function buildOptions(array $options)
    {
        $options = array_merge(
            array(
                'link' => null,
                'icon' => null,
            ),
            $options
        );

        if (isset($options['link']) && $options['link'] !== null) {
            $options['extras']['link'] = (array) $options['link'];
        }
        $options['extras']['icon'] = $options['icon'];
        return $options;
    }
public function buildOptions ( array $ options ) { $ options = array_merge ( array ( 'link' => null , 'icon' => null , ) , $ options ) ; if ( isset ( $ options [ 'link' ] ) && $ options [ 'link' ] !== null ) { $ options [ 'extras' ] [ 'link' ] = ( array ) $ options [ 'link' ] ; } $ options [ 'extras' ] [ 'icon' ] = $ options [ 'icon' ] ; return $ options ; }
Builds the full option array used to configure the item.

@param array $options The options processed by the previous extensions

@return array
Builds the full option array used to configure the item .