You are here

function avatars_form_field_config_edit_form_alter in Avatar Kit 8.2

Implements hook_form_FORM_ID_alter().

FORM_ID: 'field_config_edit_form'.

See also

\Drupal\avatars\AvatarKitFormAlterInterface::fieldConfigEditForm

File

./avatars.module, line 51
Contains hooks for Avatar Kit.

Code

function avatars_form_field_config_edit_form_alter(&$form, FormStateInterface $form_state) {

  /** @var $formAlterService \Drupal\avatars\AvatarKitFormAlterInterface */
  $formAlterService = \Drupal::service('avatars.form_alter');
  $formAlterService
    ->fieldConfigEditForm($form, $form_state);
}