Skip to content

Commit

Permalink
D8ISUTHEME-162 Move dependency to top of file (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelamnr committed Jul 27, 2021
1 parent a009cf0 commit 4d21de0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions iastate_theme.theme
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use Drupal\node\NodeInterface;
use Drupal\Core\Form\FormStateInterface;

/**
* Implements template_preprocess_html().
Expand Down Expand Up @@ -91,9 +92,6 @@ function iastate_theme_preprocess_links(&$variables) {
*
* Add ISU Theme class to Site Navbar search form
*/

use Drupal\Core\Form\FormStateInterface;

function iastate_theme_form_alter(array &$form, FormStateInterface $form_state, $form_id) {
if( $form_id == 'search_block_form') {
$form['actions']['submit']['#attributes']['class'][] = 'isu-search__search-btn';
Expand Down

0 comments on commit 4d21de0

Please sign in to comment.