Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 8.9.x for source
  4. Search 10.3.x for source
  5. Other projects
Title Object type File name Summary
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::getThumbnailWithNoExtension function core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php Returns an example thumbnail file without an extension.
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::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
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
ResourceFetcherInterface::fetchResource function core/modules/media/src/OEmbed/ResourceFetcherInterface.php Fetches an oEmbed resource.
ResourceFetcherTest class core/modules/media/tests/src/Unit/ResourceFetcherTest.php @group media
ResourceFetcherTest class core/modules/media/tests/src/Functional/ResourceFetcherTest.php Tests the oEmbed resource fetcher service.
ResourceFetcherTest.php file core/modules/media/tests/src/Unit/ResourceFetcherTest.php
ResourceFetcherTest.php file core/modules/media/tests/src/Functional/ResourceFetcherTest.php
ResourceFetcherTest::$defaultTheme property core/modules/media/tests/src/Functional/ResourceFetcherTest.php The theme to install as the default for testing.
ResourceFetcherTest::providerFetchResource function core/modules/media/tests/src/Functional/ResourceFetcherTest.php Data provider for testFetchResource().
ResourceFetcherTest::setUp function core/modules/media/tests/src/Functional/ResourceFetcherTest.php
ResourceFetcherTest::testFetchResource function core/modules/media/tests/src/Functional/ResourceFetcherTest.php Tests resource fetching.
ResourceFetcherTest::testFetchTimeout function core/modules/media/tests/src/Unit/ResourceFetcherTest.php Tests that resources are fetched with a hard-coded timeout.
ResourceFetcherTest::testUnknownContentTypeHeader function core/modules/media/tests/src/Unit/ResourceFetcherTest.php Tests how the resource fetcher handles unknown Content-Type headers.
ResourceIdentifier class core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Represents a JSON:API resource identifier object.
ResourceIdentifier.php file core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
ResourceIdentifier::$id property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php The resource ID.
ResourceIdentifier::$meta property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php The relationship's metadata.
ResourceIdentifier::$resourceType property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php The JSON:API resource type.
ResourceIdentifier::$resourceTypeName property core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php The JSON:API resource type name.
ResourceIdentifier::areResourceIdentifiersUnique function core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php Determines if an array of ResourceIdentifier objects is duplicate free.
ResourceIdentifier::ARITY_KEY constant core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php

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