namespace Drupal\Tests\media\Traits

Same name in other branches
  1. 9 Drupal\Tests\media\Traits
  2. 8.9.x Drupal\Tests\media\Traits
  3. 11.x Drupal\Tests\media\Traits
Object name File name Summary
MediaTypeCreationTrait core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php Provides methods to create a media type from given values.
OEmbedTestTrait core/modules/media/tests/src/Traits/OEmbedTestTrait.php Contains helper functions for testing oEmbed functionality in isolation.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.