/**
  * @param int        $total
  * @param int        $index
  * @param DataObject $record
  *
  * @return array
  */
 protected function getRowAttributes($total, $index, $record)
 {
     $attributes = parent::getRowAttributes($total, $index, $record);
     $this->extend('updateRowAttributes', $total, $index, $record, $attributes);
     return $attributes;
 }