function media_test_filter_preprocess_media_embed_error in Drupal 8
Implements hook_preprocess_HOOK().
File
- core/
modules/ media/ tests/ modules/ media_test_filter/ media_test_filter.module, line 30 - Helper module for the Media Embed filter tests.
Code
function media_test_filter_preprocess_media_embed_error(&$variables) {
$variables['attributes']['class'][] = 'this-error-message-is-themeable';
}