src/Extension/Core/Type/ActionType.php
public function buildCellView(CellView $view, ColumnInterface $column, array $options)
    {
        $mappingValues = $view->value;

        if (is_object($options['content'])) {
            $options['content'] = $options['content']($mappingValues);
        }

        $view->vars['url'] = $this->createUrl($options, $mappingValues);
        $view->vars['content'] = $options['content'];
        $view->vars['attr'] = $options['attr'];
        $view->vars['url_attr'] = $options['url_attr'];
    }
public function buildCellView(CellView $view, ColumnInterface $column, array $options)
    {
        $mappingValues = $view->value;

        if (is_object($options['content'])) {
            $options['content'] = $options['content']($mappingValues);
        }

        $view->vars['url'] = $this->createUrl($options, $mappingValues);
        $view->vars['content'] = $options['content'];
        $view->vars['attr'] = $options['attr'];
        $view->vars['url_attr'] = $options['url_attr'];
    }
{@inheritdoc}