Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
OEmbedFormatter::isApplicable function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Returns if the formatter can be used for the provided field.
OEmbedFormatter::settingsForm function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Returns a form to configure settings for the formatter.
OEmbedFormatter::settingsSummary function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Returns a short summary for the current formatter settings.
OEmbedFormatter::viewElements function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Builds a renderable array for a field value.
OEmbedFormatter::__construct function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Constructs an OEmbedFormatter instance.
OEmbedFormatterTest class core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Tests OEmbed Formatter.
OEmbedFormatterTest.php file core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
OEmbedFormatterTest::$defaultTheme property core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php The theme to install as the default for testing.
OEmbedFormatterTest::$modules property core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Modules to install.
OEmbedFormatterTest::providerRender function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Data provider for testRender().
OEmbedFormatterTest::setUp function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php
OEmbedFormatterTest::testDisplayConfiguration function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Tests that oEmbed media types' display can be configured correctly.
OEmbedFormatterTest::testRender function core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php Tests the oEmbed field formatter.
OEmbedIframeController::$resourceFetcher property core/modules/media/src/Controller/OEmbedIframeController.php The oEmbed resource fetcher service.
OEmbedIframeController::$urlResolver property core/modules/media/src/Controller/OEmbedIframeController.php The oEmbed URL resolver service.
OEmbedIframeController::__construct function core/modules/media/src/Controller/OEmbedIframeController.php Constructs an OEmbedIframeController instance.
OEmbedIframeControllerTest class core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests Drupal\media\Controller\OEmbedIframeController.
OEmbedIframeControllerTest.php file core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
OEmbedIframeControllerTest::$modules property core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Modules to install.
OEmbedIframeControllerTest::providerBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Data provider for testBadHashParameter().
OEmbedIframeControllerTest::testBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests validation of the 'hash' query string parameter.
OEmbedIframeControllerTest::testResourcePassedToPreprocess function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that resources can be used in media_oembed_iframe preprocess.
OEmbedIframeControllerTest::testResponseCacheMaxAge function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that the response max age is set to the same value as that of the resource.
OEmbedIframeControllerTest::testResponseCacheMaxAgeGreaterThanFiveYears function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that the response max age is 5 years when the max age returned by the provider is greater than 5 years.
OEmbedIframeControllerTest::testResponseCacheMaxAgeUponResourceException function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests that the response max age is set to 0 when a ResourceException is raised while fetching the resource.
OEmbedInterface::getProviders function core/modules/media/src/Plugin/media/Source/OEmbedInterface.php Returns the oEmbed provider names.
OEmbedMediaSource class core/modules/media/src/Attribute/OEmbedMediaSource.php Defines a OEmbedMediaSource attribute.
OEmbedMediaSource.php file core/modules/media/src/Attribute/OEmbedMediaSource.php
OEmbedMediaSource::__construct function core/modules/media/src/Attribute/OEmbedMediaSource.php Constructs a new OEmbedMediaSource attribute.
OEmbedResourceConstraint class core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php Checks if a value represents a valid oEmbed resource URL.
OEmbedResourceConstraint.php file core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php
OEmbedResourceConstraint::__construct function core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php #[HasNamedArguments]
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 Tests 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 Tests validate empty source.
OEmbedResourceConstraintValidatorTest::testValidateUrlResolverInvoked function core/modules/media/tests/src/Kernel/OEmbedResourceConstraintValidatorTest.php Tests validate url resolver invoked.
OEmbedSourceTest class core/modules/media/tests/src/Kernel/OEmbedSourceTest.php Tests Drupal\media\Plugin\media\Source\OEmbed.
OEmbedSourceTest.php file core/modules/media/tests/src/Kernel/OEmbedSourceTest.php

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