Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 10.3.x for source
- Search 11.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Resource::getThumbnailWidth | function | core/ |
Returns the width of the resource's thumbnail image. |
Resource::getTitle | function | core/ |
Returns the title of the resource. |
Resource::getType | function | core/ |
Returns the resource type. |
Resource::getUrl | function | core/ |
Returns the URL of the resource. Only applies to 'photo' resources. |
Resource::getWidth | function | core/ |
Returns the width of the resource. |
Resource::link | function | core/ |
Creates a link resource. |
Resource::photo | function | core/ |
Creates a photo resource. |
Resource::rich | function | core/ |
Creates a rich resource. |
Resource::setDimensions | function | core/ |
Sets the dimensions. |
Resource::setThumbnailDimensions | function | core/ |
Sets the thumbnail dimensions. |
Resource::TYPE_LINK | constant | core/ |
The resource type for link resources. |
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::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::$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/ |
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.