protected function overrideCellOptions(BlockInterface $column, $formatter, $data, array $options)
    {
        $config = $column->getConfig();

        if ($config->hasOption('override_options')
                && ($override = $config->getOption('override_options')) instanceof \Closure) {
            /* @var \Closure $override */
            $options = $override($options, $data, $formatter);
        }

        return $options;
    }
protected function overrideCellOptions(BlockInterface $column, $formatter, $data, array $options)
    {
        $config = $column->getConfig();

        if ($config->hasOption('override_options')
                && ($override = $config->getOption('override_options')) instanceof \Closure) {
            /* @var \Closure $override */
            $options = $override($options, $data, $formatter);
        }

        return $options;
    }
protected function overrideCellOptions ( BlockInterface $ column , $ formatter , $ data , array $ options ) { $ config = $ column -> getConfig ( ) ; if ( $ config -> hasOption ( 'override_options' ) && ( $ override = $ config -> getOption ( 'override_options' ) ) instanceof \ Closure ) { /* @var \Closure $override */ $ options = $ override ( $ options , $ data , $ formatter ) ; } return $ options ; }
Override the formatter options.

@param BlockInterface $column    The block of column
@param string         $formatter The formatter class name
@param mixed          $data      The data of record
@param array          $options   The options of formatter

@return array The options overloaded
Override the formatter options .