protected function prepareRowOptions($index, $item)
    {
        if (is_callable($this->rowOptions)) {
            $options = call_user_func($this->rowOptions, $item, $index, $this->context);
        } else {
            $options = $this->rowOptions;
        }

        Html::addCssClass($options, 'multiple-input-list__item');

        return $options;
    }
protected function prepareRowOptions($index, $item)
    {
        if (is_callable($this->rowOptions)) {
            $options = call_user_func($this->rowOptions, $item, $index, $this->context);
        } else {
            $options = $this->rowOptions;
        }

        Html::addCssClass($options, 'multiple-input-list__item');

        return $options;
    }
protected function prepareRowOptions ( $ index , $ item ) { if ( is_callable ( $ this -> rowOptions ) ) { $ options = call_user_func ( $ this -> rowOptions , $ item , $ index , $ this -> context ) ; } else { $ options = $ this -> rowOptions ; } Html :: addCssClass ( $ options , 'multiple-input-list__item' ) ; return $ options ; }
Prepares the row options.

@param int $index
@param ActiveRecordInterface|array $item
@return array
Prepares the row options .