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
OEmbedSourceTest class core/modules/media/tests/src/Kernel/OEmbedSourceTest.php @coversDefaultClass \Drupal\media\Plugin\media\Source\OEmbed
OEmbedSourceTest.php file core/modules/media/tests/src/Kernel/OEmbedSourceTest.php
OEmbedSourceTest::$modules property core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Modules to install.
OEmbedSourceTest::providerThumbnailUri function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Data provider for ::testThumbnailUri().
OEmbedSourceTest::testGetMetadata function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php @covers ::getMetadata
OEmbedSourceTest::testThumbnailUri function core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Tests that remote thumbnails are downloaded correctly.
OptimizedPhpArrayDumperTest::testGetServiceDefinitionForResource function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Tests that the correct RuntimeException is thrown for dumping a resource.
OverrideSectionsTest::$resourceConfigId property core/modules/layout_builder/tests/src/Functional/Rest/OverrideSectionsTest.php The REST Resource Config entity ID under test (i.e. a resource type).
paramconverter.jsonapi.resource_type service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\ParamConverter\ResourceTypeConverter
PathAliasResourceTestBase class core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Base class for path_alias EntityResource tests.
PathAliasResourceTestBase.php file core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php
PathAliasResourceTestBase::$entityTypeId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The tested entity type.
PathAliasResourceTestBase::$firstCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the first created entity in testPost().
PathAliasResourceTestBase::$modules property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Modules to install.
PathAliasResourceTestBase::$patchProtectedFieldNames property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The fields that are protected against modification during PATCH requests.
PathAliasResourceTestBase::$secondCreatedEntityId property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The entity ID for the second created entity in testPost().
PathAliasResourceTestBase::createEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Creates the entity to be tested.
PathAliasResourceTestBase::getExpectedNormalizedEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Returns the expected normalization of the entity.
PathAliasResourceTestBase::getNormalizedPostEntity function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Returns the normalized POST entity.
PathAliasResourceTestBase::setUpAuthorization function core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php Sets up the necessary authorization.
PathAliasTest::$resourceTypeIsVersionable property core/modules/jsonapi/tests/src/Functional/PathAliasTest.php Whether the tested JSON:API resource is versionable.
PathAliasTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/PathAliasTest.php The name of the tested JSON:API resource type.
PathValidatorTest::testIsValidWithResourceNotFound function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @covers ::isValid
@covers ::getPathAttributes
plugin.manager.media.source service core/modules/media/media.services.yml Drupal\media\MediaSourceManager
plugin.manager.migrate.source service core/modules/migrate/migrate.services.yml Drupal\migrate\Plugin\MigrateSourcePluginManager
PluralVariants::getSourceElement function core/modules/config_translation/src/FormElement/PluralVariants.php Returns the source element for a given configuration definition.
PoItem::$source property core/lib/Drupal/Component/Gettext/PoItem.php The source string or array of strings if it has plurals.
PoItem::getSource function core/lib/Drupal/Component/Gettext/PoItem.php Gets the source string(s) if the translation has plurals.
PoItem::setSource function core/lib/Drupal/Component/Gettext/PoItem.php Sets the source string(s) if the translation has plurals.
ProfileFieldOptionTranslationTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/ProfileFieldOptionTranslationTest.php Provides source data for ::testSource.
ProfileFieldTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/ProfileFieldTest.php Provides source data for ::testSource.
ProfileFieldTranslationTest::providerSource function core/modules/config_translation/tests/src/Kernel/Plugin/migrate/source/d6/ProfileFieldTranslationTest.php Provides source data for ::testSource.
ProfileFieldValuesTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/ProfileFieldValuesTest.php Provides source data for ::testSource.
RelatedResourceTypesTest class core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php @coversDefaultClass \Drupal\jsonapi\ResourceType\ResourceType
@coversClass \Drupal\jsonapi\ResourceType\ResourceTypeRepository
@group jsonapi
RelatedResourceTypesTest.php file core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php
RelatedResourceTypesTest::$barType property core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php The JSON:API resource type for `node--bar`.
RelatedResourceTypesTest::$fooType property core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php The JSON:API resource type for `node--foo`.
RelatedResourceTypesTest::$modules property core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php Modules to install.
RelatedResourceTypesTest::$resourceTypeRepository property core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php The JSON:API resource type repository under test.
RelatedResourceTypesTest::getRelatableResourceTypesByFieldProvider function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php Provides cases to test getRelatableTypesByField.
RelatedResourceTypesTest::getRelatableResourceTypesProvider function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php @covers ::getRelatableResourceTypes
@dataProvider getRelatableResourceTypesProvider
RelatedResourceTypesTest::setUp function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php
RelatedResourceTypesTest::testGetRelatableResourceTypes function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php @covers ::getRelatableResourceTypes
@dataProvider getRelatableResourceTypesProvider
RelatedResourceTypesTest::testGetRelatableResourceTypesByField function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php @covers ::getRelatableResourceTypesByField
@dataProvider getRelatableResourceTypesByFieldProvider
RelatedResourceTypesTest::testGetRelatableResourceTypesFromFieldDefinition function core/modules/jsonapi/tests/src/Kernel/ResourceType/RelatedResourceTypesTest.php Ensure a graceful failure when a field can references a missing bundle.
RelationshipNormalizerTest::$referencingResourceType property core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php The node type.
ReplaceOp::$source property composer/Plugin/Scaffold/Operations/ReplaceOp.php The relative path to the source file.
RequestHandler::delegateToRestResourcePlugin function core/modules/rest/src/RequestHandler.php Delegates an incoming request to the appropriate REST resource plugin.
RequirementsAwareSourceInterface interface core/modules/migrate/tests/src/Unit/MigrationTest.php Defines the RequirementsAwareSourceInterface.
Resource class core/modules/media/src/OEmbed/Resource.php Value object representing an oEmbed resource.

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