Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
Resource::getThumbnailWidth function core/modules/media/src/OEmbed/Resource.php Returns the width of the resource's thumbnail image.
Resource::getTitle function core/modules/media/src/OEmbed/Resource.php Returns the title of the resource.
Resource::getType function core/modules/media/src/OEmbed/Resource.php Returns the resource type.
Resource::getUrl function core/modules/media/src/OEmbed/Resource.php Returns the URL of the resource. Only applies to 'photo' resources.
Resource::getWidth function core/modules/media/src/OEmbed/Resource.php Returns the width of the resource.
Resource::link function core/modules/media/src/OEmbed/Resource.php Creates a link resource.
Resource::photo function core/modules/media/src/OEmbed/Resource.php Creates a photo resource.
Resource::rich function core/modules/media/src/OEmbed/Resource.php Creates a rich resource.
Resource::setDimensions function core/modules/media/src/OEmbed/Resource.php Sets the dimensions.
Resource::setThumbnailDimensions function core/modules/media/src/OEmbed/Resource.php Sets the thumbnail dimensions.
Resource::TYPE_LINK constant core/modules/media/src/OEmbed/Resource.php The resource type for link resources.
Resource::TYPE_PHOTO constant core/modules/media/src/OEmbed/Resource.php The resource type for photo resources.
Resource::TYPE_RICH constant core/modules/media/src/OEmbed/Resource.php The resource type for rich resources.
Resource::TYPE_VIDEO constant core/modules/media/src/OEmbed/Resource.php The resource type for video resources.
Resource::video function core/modules/media/src/OEmbed/Resource.php Creates a video resource.
Resource::__construct function core/modules/media/src/OEmbed/Resource.php Resource constructor.
ResourceBase class core/modules/rest/src/Plugin/ResourceBase.php Common base class for resource plugins.
ResourceBase.php file core/modules/rest/src/Plugin/ResourceBase.php
ResourceBase::$logger property core/modules/rest/src/Plugin/ResourceBase.php A logger instance.
ResourceBase::$serializerFormats property core/modules/rest/src/Plugin/ResourceBase.php The available serialization formats.
ResourceBase::availableMethods function core/modules/rest/src/Plugin/ResourceBase.php Returns the available HTTP request methods on this plugin.
ResourceBase::create function core/modules/rest/src/Plugin/ResourceBase.php Creates an instance of the plugin.
ResourceBase::getBaseRoute function core/modules/rest/src/Plugin/ResourceBase.php Gets the base route for a particular method.
ResourceBase::getBaseRouteRequirements function core/modules/rest/src/Plugin/ResourceBase.php Gets the base route requirements for a particular method.
ResourceBase::permissions function core/modules/rest/src/Plugin/ResourceBase.php Implements ResourceInterface::permissions().
ResourceBase::requestMethods function core/modules/rest/src/Plugin/ResourceBase.php Provides predefined HTTP request methods.
ResourceBase::routes function core/modules/rest/src/Plugin/ResourceBase.php Returns a collection of routes with URL path information for the resource.
ResourceBase::__construct function core/modules/rest/src/Plugin/ResourceBase.php Constructs a Drupal\rest\Plugin\ResourceBase object.
ResourceController class core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php Test controller returning oEmbed resources from Media's test fixtures.
ResourceController.php file core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php
ResourceController::get function core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php Creates an oEmbed resource response.
ResourceController::setResource404 function core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php Maps an asset URL to a 404 response.
ResourceController::setResourceUrl function core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php Maps an asset URL to a local fixture representing its oEmbed resource.
ResourceException class core/modules/media/src/OEmbed/ResourceException.php Exception thrown if an oEmbed resource cannot be fetched or parsed.
ResourceException.php file core/modules/media/src/OEmbed/ResourceException.php
ResourceException::$data property core/modules/media/src/OEmbed/ResourceException.php The resource data.
ResourceException::$url property core/modules/media/src/OEmbed/ResourceException.php The URL of the resource.
ResourceException::getData function core/modules/media/src/OEmbed/ResourceException.php Gets the raw resource data, if available.
ResourceException::getUrl function core/modules/media/src/OEmbed/ResourceException.php Gets the URL of the resource which caused the exception.
ResourceException::__construct function core/modules/media/src/OEmbed/ResourceException.php ResourceException constructor.
ResourceFetcher class core/modules/media/src/OEmbed/ResourceFetcher.php Fetches and caches oEmbed resources.
ResourceFetcher.php file core/modules/media/src/OEmbed/ResourceFetcher.php
ResourceFetcher::$httpClient property core/modules/media/src/OEmbed/ResourceFetcher.php The HTTP client.
ResourceFetcher::$providers property core/modules/media/src/OEmbed/ResourceFetcher.php The oEmbed provider repository service.
ResourceFetcher::createResource function core/modules/media/src/OEmbed/ResourceFetcher.php Creates a Resource object from raw resource data.
ResourceFetcher::fetchResource function core/modules/media/src/OEmbed/ResourceFetcher.php Fetches an oEmbed resource.
ResourceFetcher::parseResourceXml function core/modules/media/src/OEmbed/ResourceFetcher.php Parses XML resource data.
ResourceFetcher::__construct function core/modules/media/src/OEmbed/ResourceFetcher.php Constructs a ResourceFetcher object.
ResourceFetcherInterface interface core/modules/media/src/OEmbed/ResourceFetcherInterface.php Defines an interface for an oEmbed resource fetcher service.
ResourceFetcherInterface.php file core/modules/media/src/OEmbed/ResourceFetcherInterface.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.