src/Configuration/DefaultConfigPass.php
private function processDefaultEntity(array $backendConfig)
    {
        $entityNames = \array_keys($backendConfig['entities']);
        $firstEntityName = $entityNames[0] ?? null;
        $backendConfig['default_entity_name'] = $firstEntityName;

        return $backendConfig;
    }
private function processDefaultEntity(array $backendConfig)
    {
        $entityNames = \array_keys($backendConfig['entities']);
        $firstEntityName = $entityNames[0] ?? null;
        $backendConfig['default_entity_name'] = $firstEntityName;

        return $backendConfig;
    }
Finds the default entity to display when the backend index is not
defined explicitly.

@param array $backendConfig

@return array