TestInstallerThemeHooks.php

Namespace

Drupal\test_installer_theme\Hook

File

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

View source
<?php

declare (strict_types=1);
namespace Drupal\test_installer_theme\Hook;

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Form alter hooks for installer tests.
 */
class TestInstallerThemeHooks {
  
  /**
   * Implements hook_form_FORM_ID_alter().
   */
  public function formInstallSelectLanguageFormAlter(array &$form) : void {
    $form['function_name']['#markup'] = 'Added by custom installer theme.';
  }

}

Classes

Title Deprecated Summary
TestInstallerThemeHooks Form alter hooks for installer tests.

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