public function html_attributes() {
        $attributes = parent::html_attributes();
        if (!empty($this->config->enablehoverexpansion) && $this->config->enablehoverexpansion == 'yes') {
            $attributes['class'] .= ' block_js_expansion';
        }
        return $attributes;
    }
public function html_attributes() {
        $attributes = parent::html_attributes();
        if (!empty($this->config->enablehoverexpansion) && $this->config->enablehoverexpansion == 'yes') {
            $attributes['class'] .= ' block_js_expansion';
        }
        return $attributes;
    }
public function html_attributes ( ) { $ attributes = parent :: html_attributes ( ) ; if ( ! empty ( $ this -> config -> enablehoverexpansion ) && $ this -> config -> enablehoverexpansion == 'yes' ) { $ attributes [ 'class' ] .= ' block_js_expansion' ; } return $ attributes ; }
Returns the attributes to set for this block

This function returns an array of HTML attributes for this block including
the defaults.
{@link block_tree::html_attributes()} is used to get the default arguments
and then we check whether the user has enabled hover expansion and add the
appropriate hover class if it has.

@return array An array of HTML attributes
Returns the attributes to set for this block