function TestInstallerThemeHooks::formInstallSelectLanguageFormAlter

Implements hook_form_FORM_ID_alter().

Attributes

#[Hook('form_install_select_language_form_alter')]

File

core/modules/system/tests/themes/test_installer_theme/src/Hook/TestInstallerThemeHooks.php, line 17

Class

TestInstallerThemeHooks
Form alter hooks for installer tests.

Namespace

Drupal\test_installer_theme\Hook

Code

public function formInstallSelectLanguageFormAlter(array &$form) : void {
  $form['function_name']['#markup'] = 'Added by custom installer theme.';
}

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