class MediaTestEmbedThemeHooks
Theme hook implementations for media_test_embed.
Hierarchy
- class \Drupal\media_test_embed\Hook\MediaTestEmbedThemeHooks
Expanded class hierarchy of MediaTestEmbedThemeHooks
File
-
core/
modules/ media/ tests/ modules/ media_test_embed/ src/ Hook/ MediaTestEmbedThemeHooks.php, line 12
Namespace
Drupal\media_test_embed\HookView source
class MediaTestEmbedThemeHooks {
/**
* Implements hook_preprocess_HOOK().
*/
public function preprocessMediaEmbedError(&$variables) : void {
$variables['attributes']['class'][] = 'this-error-message-is-themeable';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MediaTestEmbedThemeHooks::preprocessMediaEmbedError | public | function | Implements hook_preprocess_HOOK(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.