From 4977236d44d56903fbdd1f9f4ac6ad991fcc1dcf Mon Sep 17 00:00:00 2001 From: Brian Canini <canini.16@osu.edu> Date: Thu, 11 Jun 2020 15:38:08 -0400 Subject: [PATCH] Updating drupal/video_embed_field (2.3.0 => 2.4.0) --- composer.json | 2 +- composer.lock | 25 ++++++++----------- vendor/composer/installed.json | 25 ++++++++----------- .../src/Commands/VemCommands.php | 9 ++++--- .../tests/src/Functional/oEmbedUpdateTest.php | 5 ++++ .../vem_migrate_oembed.drush.inc | 11 ++++---- .../vem_migrate_oembed.info.yml | 6 ++--- .../tests/src/Functional/BundleTest.php | 14 +++++------ .../video_embed_media.info.yml | 6 ++--- .../TextFormatConfigurationTest.php | 5 ++++ .../FunctionalJavascript/EmbedDialogTest.php | 5 ++++ .../video_embed_wysiwyg.info.yml | 6 ++--- .../Plugin/Field/FieldFormatter/Thumbnail.php | 2 +- .../{cckfield => field}/EmvideoField.php | 4 +-- .../{cckfield => field}/VideoEmbedField.php | 4 +-- .../video_embed_field_mock_provider.info.yml | 7 +++--- .../src/Functional/AutoplayPermissionTest.php | 5 ++++ .../src/Functional/FieldConfigurationTest.php | 5 ++++ .../Functional/FormatterConfigurationTest.php | 5 ++++ .../tests/src/Functional/InstallationTest.php | 5 ++++ .../tests/src/Functional/WidgetTest.php | 5 ++++ .../ColorboxFormatterTest.php | 5 ++++ .../LazyLoadFormatterTest.php | 5 ++++ .../video_embed_field.info.yml | 8 +++--- 24 files changed, 108 insertions(+), 71 deletions(-) rename web/modules/video_embed_field/src/Plugin/migrate/{cckfield => field}/EmvideoField.php (93%) rename web/modules/video_embed_field/src/Plugin/migrate/{cckfield => field}/VideoEmbedField.php (94%) diff --git a/composer.json b/composer.json index 18de7ed2e0..221a283d77 100644 --- a/composer.json +++ b/composer.json @@ -172,7 +172,7 @@ "drupal/twig_tweak": "2.4", "drupal/twitter_block": "3.0-alpha0", "drupal/userprotect": "1.0", - "drupal/video_embed_field": "2.3", + "drupal/video_embed_field": "2.4", "drupal/view_unpublished": "1.0-alpha1", "drupal/views_accordion": "1.1", "drupal/views_ajax_history": "1.2", diff --git a/composer.lock b/composer.lock index 887d9cf920..0a49a0df67 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "23e954f836631a163d4f0751ea02133a", + "content-hash": "14a6e6a454f4365f46fcf05a5d10b81f", "packages": [ { "name": "alchemy/zippy", @@ -7885,35 +7885,30 @@ }, { "name": "drupal/video_embed_field", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/video_embed_field.git", - "reference": "8.x-2.3" + "reference": "8.x-2.4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.3.zip", - "reference": "8.x-2.3", - "shasum": "d9b4b3bde48edf49d1aa038aae6736496558caf4" + "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.4.zip", + "reference": "8.x-2.4", + "shasum": "96b14bb93c1bb6a07b84315a4f87367870f8b574" }, "require": { "drupal/core": "^8.8 || ^9" }, "require-dev": { "drupal/colorbox": "^1.0", - "drupal/media_entity": "*", - "drupal/media_entity_embeddable_video": "*", "drupal/video_embed_media": "*" }, "type": "drupal-module", "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev" - }, "drupal": { - "version": "8.x-2.3", - "datestamp": "1584489966", + "version": "8.x-2.4", + "datestamp": "1587686284", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -8823,12 +8818,12 @@ "version": "0.9.1", "source": { "type": "git", - "url": "https://github.com/njh/easyrdf.git", + "url": "https://github.com/easyrdf/easyrdf.git", "reference": "acd09dfe0555fbcfa254291e433c45fdd4652566" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/njh/easyrdf/zipball/acd09dfe0555fbcfa254291e433c45fdd4652566", + "url": "https://api.github.com/repos/easyrdf/easyrdf/zipball/acd09dfe0555fbcfa254291e433c45fdd4652566", "reference": "acd09dfe0555fbcfa254291e433c45fdd4652566", "shasum": "" }, diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 3f214fccd6..456b5eb2fc 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -8129,36 +8129,31 @@ }, { "name": "drupal/video_embed_field", - "version": "2.3.0", - "version_normalized": "2.3.0.0", + "version": "2.4.0", + "version_normalized": "2.4.0.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/video_embed_field.git", - "reference": "8.x-2.3" + "reference": "8.x-2.4" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.3.zip", - "reference": "8.x-2.3", - "shasum": "d9b4b3bde48edf49d1aa038aae6736496558caf4" + "url": "https://ftp.drupal.org/files/projects/video_embed_field-8.x-2.4.zip", + "reference": "8.x-2.4", + "shasum": "96b14bb93c1bb6a07b84315a4f87367870f8b574" }, "require": { "drupal/core": "^8.8 || ^9" }, "require-dev": { "drupal/colorbox": "^1.0", - "drupal/media_entity": "*", - "drupal/media_entity_embeddable_video": "*", "drupal/video_embed_media": "*" }, "type": "drupal-module", "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev" - }, "drupal": { - "version": "8.x-2.3", - "datestamp": "1584489966", + "version": "8.x-2.4", + "datestamp": "1587686284", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -9096,12 +9091,12 @@ "version_normalized": "0.9.1.0", "source": { "type": "git", - "url": "https://github.com/njh/easyrdf.git", + "url": "https://github.com/easyrdf/easyrdf.git", "reference": "acd09dfe0555fbcfa254291e433c45fdd4652566" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/njh/easyrdf/zipball/acd09dfe0555fbcfa254291e433c45fdd4652566", + "url": "https://api.github.com/repos/easyrdf/easyrdf/zipball/acd09dfe0555fbcfa254291e433c45fdd4652566", "reference": "acd09dfe0555fbcfa254291e433c45fdd4652566", "shasum": "" }, diff --git a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/src/Commands/VemCommands.php b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/src/Commands/VemCommands.php index 0608d59087..865d61c684 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/src/Commands/VemCommands.php +++ b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/src/Commands/VemCommands.php @@ -26,7 +26,7 @@ class VemCommands extends DrushCommands { protected $migrator; /** - * SamplerCommands constructor. + * VemCommands constructor. * * @param \Drupal\vem_migrate_oembed\VemMigrate $migrator * The migrate service. @@ -37,14 +37,17 @@ public function __construct(VemMigrate $migrator) { } /** - * Migrates from video_embed_media to core media. + * Migrates from VEF to core media. * - * @throws \Drupal\Core\Entity\EntityStorageException + * @usage drush vemmo + * Migrates from VEF to core media. * * @command vem:migrate_oembed + * @aliases vemmo */ public function migrate() { $this->migrator->migrate(); + $this->io()->success(\dt('Migration complete.')); } } diff --git a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php index fdc2582521..5f8aecdb2f 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php +++ b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/tests/src/Functional/oEmbedUpdateTest.php @@ -15,6 +15,11 @@ class oEmbedUpdateTest extends BrowserTestBase { use MediaTypeCreationTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.drush.inc b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.drush.inc index 69bf2112e6..44895d1c88 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.drush.inc +++ b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.drush.inc @@ -9,13 +9,12 @@ * Implements hook_drush_command(). */ function vem_migrate_oembed_drush_command() { - - $items['video-embed-media-migrate-oembed'] = [ - 'description' => 'Migrate from VEF to oEmbed in core.', + $items['vem_migrate_oembed'] = [ + 'description' => 'Migrates from VEF to core media.', 'aliases' => ['vemmo'], 'core' => ['8+'], 'examples' => [ - "drush vemmo" => "Migrate from VEF to oEmbed in core", + "drush vemmo" => "Migrates from VEF to core media.", ], ]; @@ -25,9 +24,9 @@ function vem_migrate_oembed_drush_command() { /** * Callback for drush commmand "video-embed-media-migrate-oembed" (vemmo). */ -function drush_vem_migrate_oembed_video_embed_media_migrate_oembed() { - +function drush_vem_migrate_oembed_vem_migrate_oembed() { /** @var \Drupal\vem_migrate_oembed\VemMigrate $migrate */ $migrate = \Drupal::service('vem_migrate_oembed.migrate'); $migrate->migrate(); + \drush_print(\dt('Migration complete.')); } diff --git a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml index 4bb0a68e67..97f2526523 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml +++ b/web/modules/video_embed_field/modules/video_embed_media/modules/vem_migrate_oembed/vem_migrate_oembed.info.yml @@ -7,7 +7,7 @@ dependencies: - drupal:media (>= 8.6) - video_embed_field:video_embed_media -# Information added by Drupal.org packaging script on 2020-03-18 -version: '8.x-2.3' +# Information added by Drupal.org packaging script on 2020-04-23 +version: '8.x-2.4' project: 'video_embed_field' -datestamp: 1584489968 +datestamp: 1587686287 diff --git a/web/modules/video_embed_field/modules/video_embed_media/tests/src/Functional/BundleTest.php b/web/modules/video_embed_field/modules/video_embed_media/tests/src/Functional/BundleTest.php index 7f958a2f56..833cf5bd0c 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/tests/src/Functional/BundleTest.php +++ b/web/modules/video_embed_field/modules/video_embed_media/tests/src/Functional/BundleTest.php @@ -14,6 +14,11 @@ class BundleTest extends MediaFunctionalTestBase { use AdminUserTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * Modules to install. * @@ -24,13 +29,6 @@ class BundleTest extends MediaFunctionalTestBase { 'video_embed_media', ]; - /** - * {@inheritdoc} - */ - protected function setUp() { - parent::setUp(); - } - /** * Test the dialog form. */ @@ -38,7 +36,7 @@ public function testMediaBundleCreation() { $this->drupalLogin($this->adminUser); // Create bundle and modify form display. - $media_type = $this->createMediaType('video_embed_field', ['bundle' => 'video_bundle']); + $media_type = $this->createMediaType('video_embed_field', ['id' => 'video_bundle']); $source = $media_type->getSource(); $source_field = $source->getSourceFieldDefinition($media_type); if ($source_field->isDisplayConfigurable('form')) { diff --git a/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml b/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml index 001d7c3ad5..6f6fd480f9 100644 --- a/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml +++ b/web/modules/video_embed_field/modules/video_embed_media/video_embed_media.info.yml @@ -7,7 +7,7 @@ dependencies: - drupal:media (>= 8.4) - video_embed_field:video_embed_field -# Information added by Drupal.org packaging script on 2020-03-18 -version: '8.x-2.3' +# Information added by Drupal.org packaging script on 2020-04-23 +version: '8.x-2.4' project: 'video_embed_field' -datestamp: 1584489968 +datestamp: 1587686287 diff --git a/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/Functional/TextFormatConfigurationTest.php b/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/Functional/TextFormatConfigurationTest.php index 3f565f22cf..6eb18e0898 100644 --- a/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/Functional/TextFormatConfigurationTest.php +++ b/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/Functional/TextFormatConfigurationTest.php @@ -14,6 +14,11 @@ class TextFormatConfigurationTest extends BrowserTestBase { use AdminUserTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/FunctionalJavascript/EmbedDialogTest.php b/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/FunctionalJavascript/EmbedDialogTest.php index 4be4bc6f4a..0056748b4b 100644 --- a/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/FunctionalJavascript/EmbedDialogTest.php +++ b/web/modules/video_embed_field/modules/video_embed_wysiwyg/tests/src/FunctionalJavascript/EmbedDialogTest.php @@ -14,6 +14,11 @@ class EmbedDialogTest extends WebDriverTestBase { use ContentTypeCreationTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * Modules to install. * diff --git a/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml b/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml index 84e39fe66b..b3faea29fa 100644 --- a/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml +++ b/web/modules/video_embed_field/modules/video_embed_wysiwyg/video_embed_wysiwyg.info.yml @@ -8,7 +8,7 @@ dependencies: - drupal:ckeditor - video_embed_field:video_embed_field -# Information added by Drupal.org packaging script on 2020-03-18 -version: '8.x-2.3' +# Information added by Drupal.org packaging script on 2020-04-23 +version: '8.x-2.4' project: 'video_embed_field' -datestamp: 1584489968 +datestamp: 1587686287 diff --git a/web/modules/video_embed_field/src/Plugin/Field/FieldFormatter/Thumbnail.php b/web/modules/video_embed_field/src/Plugin/Field/FieldFormatter/Thumbnail.php index 543db3f893..e14da15aec 100644 --- a/web/modules/video_embed_field/src/Plugin/Field/FieldFormatter/Thumbnail.php +++ b/web/modules/video_embed_field/src/Plugin/Field/FieldFormatter/Thumbnail.php @@ -89,7 +89,7 @@ public static function create(ContainerInterface $container, array $configuratio $configuration['view_mode'], $configuration['third_party_settings'], $container->get('video_embed_field.provider_manager'), - $container->get('entity.manager')->getStorage('image_style') + $container->get('entity_type.manager')->getStorage('image_style') ); } diff --git a/web/modules/video_embed_field/src/Plugin/migrate/cckfield/EmvideoField.php b/web/modules/video_embed_field/src/Plugin/migrate/field/EmvideoField.php similarity index 93% rename from web/modules/video_embed_field/src/Plugin/migrate/cckfield/EmvideoField.php rename to web/modules/video_embed_field/src/Plugin/migrate/field/EmvideoField.php index 37491c10fa..afa41940c9 100644 --- a/web/modules/video_embed_field/src/Plugin/migrate/cckfield/EmvideoField.php +++ b/web/modules/video_embed_field/src/Plugin/migrate/field/EmvideoField.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\video_embed_field\Plugin\migrate\cckfield; +namespace Drupal\video_embed_field\Plugin\migrate\field; use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate\Row; @@ -9,7 +9,7 @@ /** * Plugin to migrate from the Drupal 6 emfield module. * - * @MigrateCckField( + * @MigrateField( * id = "emvideo", * core = {6}, * source_module = "emfield", diff --git a/web/modules/video_embed_field/src/Plugin/migrate/cckfield/VideoEmbedField.php b/web/modules/video_embed_field/src/Plugin/migrate/field/VideoEmbedField.php similarity index 94% rename from web/modules/video_embed_field/src/Plugin/migrate/cckfield/VideoEmbedField.php rename to web/modules/video_embed_field/src/Plugin/migrate/field/VideoEmbedField.php index 97e0f216b8..2ce54d0614 100644 --- a/web/modules/video_embed_field/src/Plugin/migrate/cckfield/VideoEmbedField.php +++ b/web/modules/video_embed_field/src/Plugin/migrate/field/VideoEmbedField.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\video_embed_field\Plugin\migrate\cckfield; +namespace Drupal\video_embed_field\Plugin\migrate\field; use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate\Row; @@ -9,7 +9,7 @@ /** * Plugin to migrate from the Drupal 7 video_embed_field module. * - * @MigrateCckField( + * @MigrateField( * id = "video_embed_field", * core = {7}, * source_module = "video_embed_field", diff --git a/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml b/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml index 10c3538b9c..ced80a9b34 100644 --- a/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml +++ b/web/modules/video_embed_field/tests/modules/video_embed_field_mock_provider/video_embed_field_mock_provider.info.yml @@ -3,9 +3,8 @@ description: A mock provider for testing purposes only. type: module hidden: true package: Testing -core: 8.x -# Information added by Drupal.org packaging script on 2020-03-18 -version: '8.x-2.3' +# Information added by Drupal.org packaging script on 2020-04-23 +version: '8.x-2.4' project: 'video_embed_field' -datestamp: 1584489968 +datestamp: 1587686287 diff --git a/web/modules/video_embed_field/tests/src/Functional/AutoplayPermissionTest.php b/web/modules/video_embed_field/tests/src/Functional/AutoplayPermissionTest.php index 281c976b11..e66e038792 100644 --- a/web/modules/video_embed_field/tests/src/Functional/AutoplayPermissionTest.php +++ b/web/modules/video_embed_field/tests/src/Functional/AutoplayPermissionTest.php @@ -12,6 +12,11 @@ class AutoplayPermissionTest extends BrowserTestBase { use EntityDisplaySetupTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + public static $modules = [ 'video_embed_field', 'node', diff --git a/web/modules/video_embed_field/tests/src/Functional/FieldConfigurationTest.php b/web/modules/video_embed_field/tests/src/Functional/FieldConfigurationTest.php index 786e36aa39..25a4e4a0be 100644 --- a/web/modules/video_embed_field/tests/src/Functional/FieldConfigurationTest.php +++ b/web/modules/video_embed_field/tests/src/Functional/FieldConfigurationTest.php @@ -14,6 +14,11 @@ class FieldConfigurationTest extends BrowserTestBase { use EntityDisplaySetupTrait; use AdminUserTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/tests/src/Functional/FormatterConfigurationTest.php b/web/modules/video_embed_field/tests/src/Functional/FormatterConfigurationTest.php index 985c005d9f..016d5ba251 100644 --- a/web/modules/video_embed_field/tests/src/Functional/FormatterConfigurationTest.php +++ b/web/modules/video_embed_field/tests/src/Functional/FormatterConfigurationTest.php @@ -15,6 +15,11 @@ class FormatterConfigurationTest extends BrowserTestBase { use AdminUserTrait; use EntityDisplaySetupTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/tests/src/Functional/InstallationTest.php b/web/modules/video_embed_field/tests/src/Functional/InstallationTest.php index 18f1f91207..735e741da7 100644 --- a/web/modules/video_embed_field/tests/src/Functional/InstallationTest.php +++ b/web/modules/video_embed_field/tests/src/Functional/InstallationTest.php @@ -13,6 +13,11 @@ class InstallationTest extends BrowserTestBase { use AdminUserTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/tests/src/Functional/WidgetTest.php b/web/modules/video_embed_field/tests/src/Functional/WidgetTest.php index 798aa7579b..3b0be3f590 100644 --- a/web/modules/video_embed_field/tests/src/Functional/WidgetTest.php +++ b/web/modules/video_embed_field/tests/src/Functional/WidgetTest.php @@ -15,6 +15,11 @@ class WidgetTest extends BrowserTestBase { use EntityDisplaySetupTrait; use AdminUserTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/tests/src/FunctionalJavascript/ColorboxFormatterTest.php b/web/modules/video_embed_field/tests/src/FunctionalJavascript/ColorboxFormatterTest.php index 87c26bbbf9..3c6acabac1 100644 --- a/web/modules/video_embed_field/tests/src/FunctionalJavascript/ColorboxFormatterTest.php +++ b/web/modules/video_embed_field/tests/src/FunctionalJavascript/ColorboxFormatterTest.php @@ -14,6 +14,11 @@ class ColorboxFormatterTest extends WebDriverTestBase { use EntityDisplaySetupTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/tests/src/FunctionalJavascript/LazyLoadFormatterTest.php b/web/modules/video_embed_field/tests/src/FunctionalJavascript/LazyLoadFormatterTest.php index b1de102b85..f01db68cdd 100644 --- a/web/modules/video_embed_field/tests/src/FunctionalJavascript/LazyLoadFormatterTest.php +++ b/web/modules/video_embed_field/tests/src/FunctionalJavascript/LazyLoadFormatterTest.php @@ -14,6 +14,11 @@ class LazyLoadFormatterTest extends WebDriverTestBase { use EntityDisplaySetupTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/web/modules/video_embed_field/video_embed_field.info.yml b/web/modules/video_embed_field/video_embed_field.info.yml index 04bdbb8ff0..35254ab046 100644 --- a/web/modules/video_embed_field/video_embed_field.info.yml +++ b/web/modules/video_embed_field/video_embed_field.info.yml @@ -9,11 +9,9 @@ dependencies: - drupal:system test_dependencies: - - media_entity:media_entity - - media_entity_embeddable_video:media_entity_embeddable_video - colorbox:colorbox -# Information added by Drupal.org packaging script on 2020-03-18 -version: '8.x-2.3' +# Information added by Drupal.org packaging script on 2020-04-23 +version: '8.x-2.4' project: 'video_embed_field' -datestamp: 1584489968 +datestamp: 1587686287 -- GitLab