Registering the provider
As shown in section Screenshots, you have the opportunity to register your provider and add it to the selector of registered providers:

Sample code to be added to your ext_
file:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['direct_mail_userfunc']['userFunc'][] = [
'class' => 'yourClass',
'method' => 'yourMethod',
'label' => 'Some Label'
];
Copied!
This will add a new entry "Some Label" that fills in provider yourClass->yourMethod
when selected:

Tip
- Parameter
label
of the registration code supports a localized label definition such asLLL:EXT:direct_mail_userfunc/Resources/Private/Language/locallang.xlf:
userfunction.myRecipientList
- Providers are automatically sorted by label in the selector