original_string: public function html_attributes() {
          $attributes = parent::html_attributes();
          if (!empty($this->config->enablehoverexpansion) && $this->config->enablehoverexpansion == 'yes') {
              $attributes['class'] .= ' block_js_expansion';
          }
          return $attributes;
      }
code: public function html_attributes() {
          $attributes = parent::html_attributes();
          if (!empty($this->config->enablehoverexpansion) && $this->config->enablehoverexpansion == 'yes') {
              $attributes['class'] .= ' block_js_expansion';
          }
          return $attributes;
      }
code_tokens: public function html_attributes ( ) { $ attributes = parent :: html_attributes ( ) ; if ( ! empty ( $ this -> config -> enablehoverexpansion ) && $ this -> config -> enablehoverexpansion == 'yes' ) { $ attributes [ 'class' ] .= ' block_js_expansion' ; } return $ attributes ; }
docstring: 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
docstring_tokens: Returns the attributes to set for this block