/** * Get initial field parameters * * @param array $field Field data * * @return array */ protected function getFieldParams(array $field) { return parent::getFieldParams($field) + array('min' => 0); }
/** * getContainerClass * * @return string */ protected function getContainerClass() { return parent::getContainerClass() . ' inline-subtotalRangeBegin'; }
/** * Get field value from entity * * @param array $field Field * * @return mixed */ protected function getFieldEntityValue(array $field) { return abs(parent::getFieldEntityValue($field)); }