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 |
---|---|---|---|
Resource::$html | property | core/ |
The HTML representation of the resource. |
Resource::$provider | property | core/ |
The resource provider. |
Resource::$thumbnailHeight | property | core/ |
The height of the thumbnail, in pixels. |
Resource::$thumbnailUrl | property | core/ |
A URL to a thumbnail image representing the resource. |
Resource::$thumbnailWidth | property | core/ |
The width of the thumbnail, in pixels. |
Resource::$title | property | core/ |
A text title, describing the resource. |
Resource::$type | property | core/ |
The resource type. Can be one of the static::TYPE_* constants. |
Resource::$url | property | core/ |
The resource URL. Only applies to 'photo' and 'link' resources. |
Resource::$width | property | core/ |
The width of the resource, in pixels. |
Resource::getAuthorName | function | core/ |
Returns the name of the resource author. |
Resource::getAuthorUrl | function | core/ |
Returns the URL of the resource author. |
Resource::getHeight | function | core/ |
Returns the height of the resource. |
Resource::getHtml | function | core/ |
Returns the HTML representation of the resource. |
Resource::getProvider | function | core/ |
Returns the resource provider, if known. |
Resource::getThumbnailHeight | function | core/ |
Returns the height of the resource's thumbnail image. |
Resource::getThumbnailUrl | function | core/ |
Returns the URL of the resource's thumbnail image. |
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::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. |
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.