src/Event/Subscriber/ExtraConfigurationSubscriber.php
private function addDefaultRightMenu(array &$configuration)
    {
        if (!$this->applicationConfiguration->getParameter('enable_menus')) {
            return;
        }

        if (!key_exists('list', $configuration['actions'])) {
            return;
        }

        if (
            key_exists('menus', $configuration['actions']['list']) &&
            is_array($configuration['actions']['list']['menus']) &&
            key_exists('right', $configuration['actions']['list']['menus'])
        ) {
            return;
        }

        $configuration['actions']['list']['menus']['right'] = [];
    }
private function addDefaultRightMenu(array &$configuration)
    {
        if (!$this->applicationConfiguration->getParameter('enable_menus')) {
            return;
        }

        if (!key_exists('list', $configuration['actions'])) {
            return;
        }

        if (
            key_exists('menus', $configuration['actions']['list']) &&
            is_array($configuration['actions']['list']['menus']) &&
            key_exists('right', $configuration['actions']['list']['menus'])
        ) {
            return;
        }

        $configuration['actions']['list']['menus']['right'] = [];
    }
private function addDefaultRightMenu ( array & $ configuration ) { if ( ! $ this -> applicationConfiguration -> getParameter ( 'enable_menus' ) ) { return ; } if ( ! key_exists ( 'list' , $ configuration [ 'actions' ] ) ) { return ; } if ( key_exists ( 'menus' , $ configuration [ 'actions' ] [ 'list' ] ) && is_array ( $ configuration [ 'actions' ] [ 'list' ] [ 'menus' ] ) && key_exists ( 'right' , $ configuration [ 'actions' ] [ 'list' ] [ 'menus' ] ) ) { return ; } $ configuration [ 'actions' ] [ 'list' ] [ 'menus' ] [ 'right' ] = [ ] ; }
Add the default right menu.

@param array  $configuration
Add the default right menu .