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 11.x for source
  5. Other projects
Title Object type File name Summary
OEmbedResourceConstraint::$providerErrorMessage property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php The error message if an unexpected behavior occurs.
OEmbedResourceConstraint::$unknownProviderMessage property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php The error message if the URL does not match any known provider.
OEmbedResourceConstraintValidator class core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Validates oEmbed resource URLs.
OEmbedResourceConstraintValidator.php file core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidator::$logger property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The logger service.
OEmbedResourceConstraintValidator::$resourceFetcher property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The resource fetcher service.
OEmbedResourceConstraintValidator::$urlResolver property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The oEmbed URL resolver service.
OEmbedResourceConstraintValidator::create function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Instantiates a new instance of this class.
OEmbedResourceConstraintValidator::handleException function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Handles exceptions that occur during validation.
OEmbedResourceConstraintValidator::validate function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php
OEmbedResourceConstraintValidator::__construct function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php Constructs a new OEmbedResourceConstraintValidator.
OEmbedResourceConstraintValidatorTest class core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @coversDefaultClass \Drupal\media\Plugin\Validation\Constraint\OEmbedResourceConstraintValidator
OEmbedResourceConstraintValidatorTest.php file core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::$modules property core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Modules to install.
OEmbedResourceConstraintValidatorTest::getValue function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Wraps a media entity in an anonymous class to mock a field value.
OEmbedResourceConstraintValidatorTest::setUp function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php
OEmbedResourceConstraintValidatorTest::testValidateEmptySource function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php @covers ::validate
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
ProfileFieldTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/ProfileFieldTest.php
ProfileFieldTranslationTest::providerSource function core/modules/config_translation/tests/src/Kernel/Plugin/migrate/source/d6/ProfileFieldTranslationTest.php

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