function ContentTranslationHooks::formLanguageContentSettingsFormAlter

Implements hook_form_FORM_ID_alter() for language_content_settings_form().

File

core/modules/content_translation/src/Hook/ContentTranslationHooks.php, line 498

Class

ContentTranslationHooks
Hook implementations for content_translation.

Namespace

Drupal\content_translation\Hook

Code

public function formLanguageContentSettingsFormAlter(array &$form, FormStateInterface $form_state) : void {
    \Drupal::moduleHandler()->loadInclude('content_translation', 'inc', 'content_translation.admin');
    _content_translation_form_language_content_settings_form_alter($form, $form_state);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.