protected function prepareAttributes(array $attributes)
    {
        $attributes['data-sitekey'] = $this->sitekey;
        if (!isset($attributes['class'])) {
            $attributes['class'] = '';
        }
        $attributes['class'] = trim('g-recaptcha ' . $attributes['class']);

        return $attributes;
    }
protected function prepareAttributes(array $attributes)
    {
        $attributes['data-sitekey'] = $this->sitekey;
        if (!isset($attributes['class'])) {
            $attributes['class'] = '';
        }
        $attributes['class'] = trim('g-recaptcha ' . $attributes['class']);

        return $attributes;
    }
protected function prepareAttributes ( array $ attributes ) { $ attributes [ 'data-sitekey' ] = $ this -> sitekey ; if ( ! isset ( $ attributes [ 'class' ] ) ) { $ attributes [ 'class' ] = '' ; } $ attributes [ 'class' ] = trim ( 'g-recaptcha ' . $ attributes [ 'class' ] ) ; return $ attributes ; }
Prepare HTML attributes and assure that the correct classes and attributes for captcha are inserted.

@param array $attributes

@return array
Prepare HTML attributes and assure that the correct classes and attributes for captcha are inserted .