protected static function extractChoiceLoader($form)
    {
        $form = static::getForm($form);
        $choiceLoader = $form->getAttribute('choice_loader', $form->getOption('choice_loader'));

        return $choiceLoader;
    }