function imce_form_linkit_profile_form_builder in Linkit 8.4
Entity builder for the linkit profile form with imce options.
See also
imce_form_linkit_profile_form_alter().
1 string reference to 'imce_form_linkit_profile_form_builder'
- imce_form_linkit_profile_form_alter in ./
linkit.module - Implements hook_form_BASE_FORM_ID_alter() for linkit_profile_form on behalf of the 'imce' module.
File
- ./
linkit.module, line 71
Code
function imce_form_linkit_profile_form_builder($entity_type, ProfileInterface $linkit_profile, &$form, FormStateInterface $form_state) {
$linkit_profile
->setThirdPartySetting('imce', 'use', $form_state
->getValue('imce_use'));
$linkit_profile
->setThirdPartySetting('imce', 'scheme', $form_state
->getValue('imce_scheme'));
}