wrap_with_multi_tools() public method

Wrap a chunk of HTML with "remove" and "move" buttons if applicable.
public wrap_with_multi_tools ( string $html, $classes = [] ) : string
$html string HTML to wrap.
return string wrapped HTML.
 /**
  * Groups have their own drag and remove tools in the label.
  * @param string $html
  * @return string
  */
 public function wrap_with_multi_tools($html, $classes = array())
 {
     if (empty($this->label) || !$this->one_label_per_item) {
         return parent::wrap_with_multi_tools($html, $classes);
     }
     return $html;
 }