Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ResourceBase::$logger | property | core/ |
A logger instance. |
ResourceBase::$serializerFormats | property | core/ |
The available serialization formats. |
ResourceBase::availableMethods | function | core/ |
Returns the available HTTP request methods on this plugin. |
ResourceBase::create | function | core/ |
Creates an instance of the plugin. |
ResourceBase::getBaseRoute | function | core/ |
Gets the base route for a particular method. |
ResourceBase::getBaseRouteRequirements | function | core/ |
Gets the base route requirements for a particular method. |
ResourceBase::permissions | function | core/ |
Implements ResourceInterface::permissions(). |
ResourceBase::requestMethods | function | core/ |
Provides predefined HTTP request methods. |
ResourceBase::routes | function | core/ |
Returns a collection of routes with URL path information for the resource. |
ResourceBase::__construct | function | core/ |
Constructs a Drupal\rest\Plugin\ResourceBase object. |
ResourceController | class | core/ |
Test controller returning oEmbed resources from Media's test fixtures. |
ResourceController.php | file | core/ |
|
ResourceController::get | function | core/ |
Creates an oEmbed resource response. |
ResourceController::getThumbnailWithNoExtension | function | core/ |
Returns an example thumbnail file without an extension. |
ResourceController::setResource404 | function | core/ |
Maps an asset URL to a 404 response. |
ResourceController::setResourceUrl | function | core/ |
Maps an asset URL to a local fixture representing its oEmbed resource. |
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::createResource | function | core/ |
Creates a Resource object from raw resource data. |
ResourceFetcher::fetchResource | function | core/ |
|
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/ |
Tests the oEmbed resource fetcher service. |
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::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/ |
Pagination
- Previous page
- Page 28
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.