src/Configuration/ActionConfigPass.php
private function getDefaultActionsConfig($view)
    {
        $actions = $this->doNormalizeActionsConfig([
            'delete' => ['name' => 'delete', 'label' => 'action.delete', 'icon' => 'trash-o', 'css_class' => 'btn text-danger'],
            'edit' => ['name' => 'edit', 'label' => 'action.edit', 'icon' => 'edit', 'css_class' => 'btn btn-primary'],
            'new' => ['name' => 'new', 'label' => 'action.new', 'css_class' => 'btn btn-primary'],
            'search' => ['name' => 'search', 'label' => 'action.search'],
            'show' => ['name' => 'show', 'label' => 'action.show'],
            'list' => ['name' => 'list', 'label' => 'action.list', 'css_class' => 'btn btn-link pr-0'],
        ]);

        // minor tweaks for some action + view combinations
        if ('list' === $view) {
            $actions['delete']['icon'] = null;
            $actions['delete']['css_class'] = 'text-danger';
            $actions['edit']['icon'] = null;
            $actions['edit']['css_class'] = '';
            $actions['list']['css_class'] = '';
        }

        return $actions;
    }
private function getDefaultActionsConfig($view)
    {
        $actions = $this->doNormalizeActionsConfig([
            'delete' => ['name' => 'delete', 'label' => 'action.delete', 'icon' => 'trash-o', 'css_class' => 'btn text-danger'],
            'edit' => ['name' => 'edit', 'label' => 'action.edit', 'icon' => 'edit', 'css_class' => 'btn btn-primary'],
            'new' => ['name' => 'new', 'label' => 'action.new', 'css_class' => 'btn btn-primary'],
            'search' => ['name' => 'search', 'label' => 'action.search'],
            'show' => ['name' => 'show', 'label' => 'action.show'],
            'list' => ['name' => 'list', 'label' => 'action.list', 'css_class' => 'btn btn-link pr-0'],
        ]);

        // minor tweaks for some action + view combinations
        if ('list' === $view) {
            $actions['delete']['icon'] = null;
            $actions['delete']['css_class'] = 'text-danger';
            $actions['edit']['icon'] = null;
            $actions['edit']['css_class'] = '';
            $actions['list']['css_class'] = '';
        }

        return $actions;
    }
Returns the default configuration for all the built-in actions of the
given view, including the actions which are not enabled by default for
that view (e.g. the 'show' action for the 'list' view).

@param string $view

@return array