You are here

protected function OEmbedTestTrait::getFixturesUrl in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media/tests/src/Traits/OEmbedTestTrait.php \Drupal\Tests\media\Traits\OEmbedTestTrait::getFixturesUrl()
  2. 9 core/modules/media/tests/src/Traits/OEmbedTestTrait.php \Drupal\Tests\media\Traits\OEmbedTestTrait::getFixturesUrl()

Returns the absolute URL of the oEmbed fixtures directory.

Return value

string

File

core/modules/media/tests/src/Traits/OEmbedTestTrait.php, line 28

Class

OEmbedTestTrait
Contains helper functions for testing oEmbed functionality in isolation.

Namespace

Drupal\Tests\media\Traits

Code

protected function getFixturesUrl() {
  return $this->baseUrl . '/' . $this
    ->getFixturesDirectory();
}