Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| OEmbedIframeController::$urlResolver | property | core/ |
The oEmbed URL resolver service. |
| OEmbedIframeController::create | function | core/ |
Instantiates a new instance of this class. |
| OEmbedIframeController::render | function | core/ |
Renders an oEmbed resource. |
| OEmbedIframeController::__construct | function | core/ |
Constructs an OEmbedIframeController instance. |
| OEmbedIframeControllerTest | class | core/ |
Tests Drupal\media\Controller\OEmbedIframeController. |
| OEmbedIframeControllerTest.php | file | core/ |
|
| OEmbedIframeControllerTest::$modules | property | core/ |
Modules to install. |
| OEmbedIframeControllerTest::providerBadHashParameter | function | core/ |
Data provider for testBadHashParameter(). |
| OEmbedIframeControllerTest::testBadHashParameter | function | core/ |
Tests validation of the 'hash' query string parameter. |
| OEmbedIframeControllerTest::testResourcePassedToPreprocess | function | core/ |
Tests that resources can be used in media_oembed_iframe preprocess. |
| OEmbedIframeControllerTest::testResponseCacheMaxAge | function | core/ |
Tests that the response max age is set to the same value as that of the resource. |
| OEmbedIframeControllerTest::testResponseCacheMaxAgeGreaterThanFiveYears | function | core/ |
Tests that the response max age is 5 years when the max age returned by the provider is greater than 5 years. |
| OEmbedIframeControllerTest::testResponseCacheMaxAgeUponResourceException | function | core/ |
Tests that the response max age is set to 0 when a ResourceException is raised while fetching the resource. |
| OEmbedInterface | interface | core/ |
Defines additional functionality for source plugins that use oEmbed. |
| OEmbedInterface.php | file | core/ |
|
| OEmbedInterface::getProviders | function | core/ |
Returns the oEmbed provider names. |
| OEmbedMediaSource | class | core/ |
Defines a OEmbedMediaSource attribute. |
| OEmbedMediaSource.php | file | core/ |
|
| OEmbedMediaSource::__construct | function | core/ |
Constructs a new OEmbedMediaSource attribute. |
| OEmbedResourceConstraint | class | core/ |
Checks if a value represents a valid oEmbed resource URL. |
| OEmbedResourceConstraint.php | file | core/ |
|
| OEmbedResourceConstraint::__construct | function | core/ |
|
| OEmbedResourceConstraintValidator | class | core/ |
Validates oEmbed resource URLs. |
| OEmbedResourceConstraintValidator.php | file | core/ |
|
| OEmbedResourceConstraintValidator::$logger | property | core/ |
The logger service. |
| OEmbedResourceConstraintValidator::$resourceFetcher | property | core/ |
The resource fetcher service. |
| OEmbedResourceConstraintValidator::$urlResolver | property | core/ |
The oEmbed URL resolver service. |
| OEmbedResourceConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| OEmbedResourceConstraintValidator::handleException | function | core/ |
Handles exceptions that occur during validation. |
| OEmbedResourceConstraintValidator::validate | function | core/ |
|
| OEmbedResourceConstraintValidator::__construct | function | core/ |
Constructs a new OEmbedResourceConstraintValidator. |
| OEmbedResourceConstraintValidatorTest | class | core/ |
Tests Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator. |
| OEmbedResourceConstraintValidatorTest.php | file | core/ |
|
| OEmbedResourceConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
| OEmbedResourceConstraintValidatorTest::getValue | function | core/ |
Wraps a media entity in an anonymous class to mock a field value. |
| OEmbedResourceConstraintValidatorTest::setUp | function | core/ |
|
| OEmbedResourceConstraintValidatorTest::testValidateEmptySource | function | core/ |
Tests validate empty source. |
| OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked | function | core/ |
Tests validate url resolver invoked. |
| OEmbedSourceTest | class | core/ |
Tests Drupal\media\Plugin\media\Source\OEmbed. |
| OEmbedSourceTest.php | file | core/ |
|
| OEmbedSourceTest::$modules | property | core/ |
Modules to install. |
| OEmbedSourceTest::providerThumbnailUri | function | core/ |
Data provider for ::testThumbnailUri(). |
| OEmbedSourceTest::testGetMetadata | function | core/ |
Tests get metadata. |
| OEmbedSourceTest::testThumbnailUri | function | core/ |
Tests that remote thumbnails are downloaded correctly. |
| OEmbedTestTrait | trait | core/ |
Contains helper functions for testing oEmbed functionality in isolation. |
| OEmbedTestTrait.php | file | core/ |
|
| OEmbedTestTrait::getFixturesDirectory | function | core/ |
Returns the relative path to the oEmbed fixtures directory. |
| OEmbedTestTrait::getFixturesUrl | function | core/ |
Returns the absolute URL of the oEmbed fixtures directory. |
| OEmbedTestTrait::hijackProviderEndpoints | function | core/ |
Ensures that oEmbed provider endpoints use the test resource route. |
| OEmbedTestTrait::lockHttpClientToFixtures | function | core/ |
Configures the HTTP client to always use the fixtures directory. |
Pagination
- Previous page
- Page 1207
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.