class TestInstallerThemeHooks

Form alter hooks for installer tests.

Hierarchy

Expanded class hierarchy of TestInstallerThemeHooks

File

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

Namespace

Drupal\test_installer_theme\Hook
View source
class TestInstallerThemeHooks {
  
  /**
   * Implements hook_form_FORM_ID_alter().
   */
  public function formInstallSelectLanguageFormAlter(array &$form) : void {
    $form['function_name']['#markup'] = 'Added by custom installer theme.';
  }

}

Members

Title Sort descending Modifiers Object type Summary
TestInstallerThemeHooks::formInstallSelectLanguageFormAlter public function Implements hook_form_FORM_ID_alter().

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