6 calls to Resource::rich()
- OEmbedIframeControllerTest::testResourcePassedToPreprocess in core/
modules/ media/ tests/ src/ Kernel/ OEmbedIframeControllerTest.php - Tests that resources can be used in media_oembed_iframe preprocess.
- OEmbedIframeControllerTest::testResponseCacheMaxAge in core/
modules/ media/ tests/ src/ Kernel/ OEmbedIframeControllerTest.php - Tests that the response max age is set to the same value as that of the resource.
- OEmbedIframeControllerTest::testResponseCacheMaxAgeGreaterThanFiveYears in core/
modules/ media/ tests/ src/ Kernel/ OEmbedIframeControllerTest.php - Tests that the response max age is 5 years when the max age returned by the provider is greater than 5 years.
- OEmbedSourceTest::testThumbnailUri in core/
modules/ media/ tests/ src/ Kernel/ OEmbedSourceTest.php - Tests that remote thumbnails are downloaded correctly.
- Resource::video in core/
modules/ media/ src/ OEmbed/ Resource.php - Creates a video resource.
- ResourceFetcher::createResource in core/
modules/ media/ src/ OEmbed/ ResourceFetcher.php - Creates a Resource object from raw resource data.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.