This file contains hidden or 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
| <?php | |
| /** | |
| * Preprocess variables for image field templates. | |
| * @param $variables | |
| */ | |
| function at_core_preprocess_field__image(&$variables) { | |
| $theme = \Drupal::theme()->getActiveTheme()->getName(); | |
| $config = \Drupal::config($theme . '.settings')->get('settings'); |