src/Event/Subscriber/ExtraConfigurationSubscriber.php
private function addDefaultActions(array &$configuration)
    {
        if (!key_exists('actions', $configuration) || !is_array($configuration['actions'])) {
            $configuration['actions'] = [];
        }

        if (0 !== count($configuration['actions'])) {
            return;
        }
        $configuration['actions'] = [
            'create' => [],
            'list' => [],
            'edit' => [],
            'delete' => [],
        ];
    }
private function addDefaultActions(array &$configuration)
    {
        if (!key_exists('actions', $configuration) || !is_array($configuration['actions'])) {
            $configuration['actions'] = [];
        }

        if (0 !== count($configuration['actions'])) {
            return;
        }
        $configuration['actions'] = [
            'create' => [],
            'list' => [],
            'edit' => [],
            'delete' => [],
        ];
    }
private function addDefaultActions ( array & $ configuration ) { if ( ! key_exists ( 'actions' , $ configuration ) || ! is_array ( $ configuration [ 'actions' ] ) ) { $ configuration [ 'actions' ] = [ ] ; } if ( 0 !== count ( $ configuration [ 'actions' ] ) ) { return ; } $ configuration [ 'actions' ] = [ 'create' => [ ] , 'list' => [ ] , 'edit' => [ ] , 'delete' => [ ] , ] ; }
Defines the default CRUD actions if no action was configured.

@param array $configuration
Defines the default CRUD actions if no action was configured .