Search for source
- Search 7.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| ResourceException | class | core/ |
Exception thrown if an oEmbed resource cannot be fetched or parsed. |
| ResourceException.php | file | core/ |
|
| ResourceException::$data | property | core/ |
The resource data. |
| ResourceException::$url | property | core/ |
The URL of the resource. |
| ResourceException::getData | function | core/ |
Gets the raw resource data, if available. |
| ResourceException::getUrl | function | core/ |
Gets the URL of the resource which caused the exception. |
| ResourceException::__construct | function | core/ |
ResourceException constructor. |
| ResourceFetcher | class | core/ |
Fetches and caches oEmbed resources. |
| ResourceFetcher.php | file | core/ |
|
| ResourceFetcher::$cacheBackend | property | core/ |
The cache backend. |
| ResourceFetcher::$httpClient | property | core/ |
The HTTP client. |
| ResourceFetcher::$providers | property | core/ |
The oEmbed provider repository service. |
| ResourceFetcher::createResource | function | core/ |
Creates a Resource object from raw resource data. |
| ResourceFetcher::fetchResource | function | core/ |
Fetches an oEmbed resource. |
| ResourceFetcher::parseResourceXml | function | core/ |
Parses XML resource data. |
| ResourceFetcher::__construct | function | core/ |
Constructs a ResourceFetcher object. |
| ResourceFetcherInterface | interface | core/ |
Defines an interface for an oEmbed resource fetcher service. |
| ResourceFetcherInterface.php | file | core/ |
|
| ResourceFetcherInterface::fetchResource | function | core/ |
Fetches an oEmbed resource. |
| ResourceFetcherTest | class | core/ |
@group media |
| ResourceFetcherTest | class | core/ |
@coversDefaultClass \Drupal\media\OEmbed\ResourceFetcher[[api-linebreak]] |
| ResourceFetcherTest | class | core/ |
Tests the oEmbed resource fetcher service. |
| ResourceFetcherTest.php | file | core/ |
|
| ResourceFetcherTest.php | file | core/ |
|
| ResourceFetcherTest.php | file | core/ |
|
| ResourceFetcherTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| ResourceFetcherTest::providerFetchResource | function | core/ |
Data provider for testFetchResource(). |
| ResourceFetcherTest::setUp | function | core/ |
|
| ResourceFetcherTest::testDeprecations | function | core/ |
@covers ::__construct[[api-linebreak]] |
| ResourceFetcherTest::testFetchResource | function | core/ |
Tests resource fetching. |
| ResourceFetcherTest::testFetchTimeout | function | core/ |
Tests that resources are fetched with a hard-coded timeout. |
| ResourceFetcherTest::testUnknownContentTypeHeader | function | core/ |
Tests how the resource fetcher handles unknown Content-Type headers. |
| ResourceIdentifier | class | core/ |
Represents a JSON:API resource identifier object. |
| ResourceIdentifier.php | file | core/ |
|
| ResourceIdentifier::$id | property | core/ |
The resource ID. |
| ResourceIdentifier::$meta | property | core/ |
The relationship's metadata. |
| ResourceIdentifier::$resourceType | property | core/ |
The JSON:API resource type. |
| ResourceIdentifier::$resourceTypeName | property | core/ |
The JSON:API resource type name. |
| ResourceIdentifier::areResourceIdentifiersUnique | function | core/ |
Determines if an array of ResourceIdentifier objects is duplicate free. |
| ResourceIdentifier::ARITY_KEY | constant | core/ |
|
| ResourceIdentifier::compare | function | core/ |
Compares ResourceIdentifier objects. |
| ResourceIdentifier::deduplicate | function | core/ |
Deduplicates an array of ResourceIdentifier objects. |
| ResourceIdentifier::fromEntity | function | core/ |
Creates a ResourceIdentifier object. |
| ResourceIdentifier::getArity | function | core/ |
Gets the ResourceIdentifier's arity. |
| ResourceIdentifier::getDataReferencePropertyName | function | core/ |
Helper method to determine which field item property contains an entity. |
| ResourceIdentifier::getId | function | core/ |
Gets the ResourceIdentifier's ID. |
| ResourceIdentifier::getMeta | function | core/ |
Gets the resource identifier objects metadata. |
| ResourceIdentifier::getResourceType | function | core/ |
Gets the resource identifier's JSON:API resource type. |
| ResourceIdentifier::getTypeName | function | core/ |
Gets the ResourceIdentifier's JSON:API resource type name. |
| ResourceIdentifier::getVirtualOrMissingResourceIdentifier | function | core/ |
Creates a ResourceIdentifier for a NULL or FALSE entity reference item. |
Pagination
- Previous page
- Page 29
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.