function uikit_theme_suggestions_input_alter

8.x-3.x alter.inc uikit_theme_suggestions_input_alter(array &$suggestions, array $variables)

Implements hook_theme_suggestions_HOOK_alter() for input templates.

File

includes/alter.inc, line 100
Modify structured content arrays.

Code

function uikit_theme_suggestions_input_alter(array &$suggestions, array $variables) {
  if ($variables ['element']['#type'] == 'entity_autocomplete') {
    $suggestions [] = 'input__autocomplete';
  }
}

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Log in