src/Form/Type/EasyAdminBatchFormType.php
public function buildView(FormView $view, FormInterface $form, array $options): void
    {
        $entityConfig = $this->configManager->getEntityConfig($options['entity']);
        $disabledActions = $entityConfig['disabled_actions'];
        $batchActions = $entityConfig['list']['batch_actions'];

        $view->vars['batch_actions'] =  \array_filter($batchActions, function ($batchAction) use ($disabledActions) {
            return !\in_array($batchAction['name'], $disabledActions, true);
        });
    }
public function buildView(FormView $view, FormInterface $form, array $options): void
    {
        $entityConfig = $this->configManager->getEntityConfig($options['entity']);
        $disabledActions = $entityConfig['disabled_actions'];
        $batchActions = $entityConfig['list']['batch_actions'];

        $view->vars['batch_actions'] =  \array_filter($batchActions, function ($batchAction) use ($disabledActions) {
            return !\in_array($batchAction['name'], $disabledActions, true);
        });
    }
{@inheritdoc}