Last active
March 29, 2017 11:37
-
-
Save DejanBelic/0b92b15cd99cdc9a3239bf78dc8bae6f to your computer and use it in GitHub Desktop.
Template suggestion for contact form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function THEME_theme_suggestions_form_alter(array &$suggestions, array $variables) { | |
$suggestions[] = 'form__' . $variables['element']['#form_id']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment