Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Resource::TYPE_PHOTO | constant | core/ |
The resource type for photo resources. |
Resource::TYPE_RICH | constant | core/ |
The resource type for rich resources. |
Resource::TYPE_VIDEO | constant | core/ |
The resource type for video resources. |
Resource::video | function | core/ |
Creates a video resource. |
Resource::__construct | function | core/ |
Resource constructor. |
ResourceBase | class | core/ |
Common base class for resource plugins. |
ResourceBase.php | file | core/ |
|
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::$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/ |
|
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. |
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.