Version 1
[yaffs-website] / web / modules / contrib / embed / tests / embed_test / embed_test.module
1 <?php
2
3 /**
4  * Implements hook_ENTITY_TYPE_view_alter().
5  */
6 function embed_test_node_view_alter(array &$build) {
7   // @see \Drupal\Tests\embed\Functional\EmbedPreviewTest::testPreview
8   $build['#attached']['library'][] = 'core/jquery';
9 }