Issue #2494131 by webchick, mgifford, mohit_aghera, LewisNyman, yoroy: Placeholder text for site name in installer can be confusing

8.1.x
Nathaniel Catchpole 2016-02-09 16:45:19 +09:00
parent f7a24a4651
commit 71c28b2a4c
1 changed files with 0 additions and 2 deletions

View File

@ -13,8 +13,6 @@ use Drupal\Core\Form\FormStateInterface;
* Allows the profile to alter the site configuration form.
*/
function standard_form_install_configure_form_alter(&$form, FormStateInterface $form_state) {
// Add a placeholder as example that one can choose an arbitrary site name.
$form['site_information']['site_name']['#attributes']['placeholder'] = t('My site');
$form['#submit'][] = 'standard_form_install_configure_submit';
}