Search for lockHttpClientToFixtures

  1. Search 7.x for lockHttpClientToFixtures
  2. Search 9.5.x for lockHttpClientToFixtures
  3. Search 10.3.x for lockHttpClientToFixtures
  4. Search 11.x for lockHttpClientToFixtures
  5. Other projects
Title Object type File name Summary
OEmbedTestTrait::lockHttpClientToFixtures function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Configures the http_client service so that all requests are carried out
relative to the URL of the fixtures directory. For example, after calling
this method, a request for foobar.html will actually request
http://test-site/path/to/fuxtures/foobar.html.

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