<?php

/**
 * @file
 * Theming for individual forms by ID.
 */

use Drupal\Core\Form\FormStateInterface;

/**
 * Implements hook_form_FORM_ID_alter().
 */
function toc_ga_form_route_finder_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  $form['button_submit']['#outline'] = FALSE;
}

/**
 * Implements hook_form_FORM_ID_alter().
 */
function toc_ga_form_nre_stations_ldb_live_boards_finder_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  $form['station']['#input_suffix']['#size'] = 'sm';
}

/**
 * Implements hook_form_FORM_ID_alter().
 */
function toc_ga_form_nre_stations_ldb_blocks_next_trains_form_alter(&$form, FormStateInterface $form_state, $form_id) {
  $form['station']['#input_suffix']['#size'] = 'sm';
  $form['toc_stations']['#input_suffix']['#size'] = 'sm';
}
