Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
OEmbedForm::validateUrl function core/modules/media_library/src/Form/OEmbedForm.php Validates the oEmbed URL.
OEmbedForm::__construct function core/modules/media_library/src/Form/OEmbedForm.php Constructs a new OEmbedForm.
OEmbedFormatter class core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Plugin implementation of the 'oembed' formatter.
OEmbedFormatter.php file core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
OEmbedFormatter::$config property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The media settings config.
OEmbedFormatter::$iFrameUrlHelper property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The iFrame URL helper service.
OEmbedFormatter::$logger property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The logger service.
OEmbedFormatter::$messenger property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The messenger service.
OEmbedFormatter::$resourceFetcher property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The oEmbed resource fetcher.
OEmbedFormatter::$urlResolver property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The oEmbed URL resolver service.
OEmbedFormatter::create function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Creates an instance of the plugin.
OEmbedFormatter::defaultSettings function core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php Defines the default settings for this plugin.
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 @covers \Drupal\media\Plugin\Field\FieldFormatter\OEmbedFormatter[[api-linebreak]]
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 enable.
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 class core/modules/media/src/Controller/OEmbedIframeController.php Controller which renders an oEmbed resource in a bare page (without blocks).
OEmbedIframeController.php file core/modules/media/src/Controller/OEmbedIframeController.php
OEmbedIframeController::$iFrameUrlHelper property core/modules/media/src/Controller/OEmbedIframeController.php The iFrame URL helper service.
OEmbedIframeController::$logger property core/modules/media/src/Controller/OEmbedIframeController.php The logger channel.
OEmbedIframeController::$renderer property core/modules/media/src/Controller/OEmbedIframeController.php The renderer service.
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::create function core/modules/media/src/Controller/OEmbedIframeController.php Instantiates a new instance of this class.
OEmbedIframeController::render function core/modules/media/src/Controller/OEmbedIframeController.php Renders an oEmbed resource.
OEmbedIframeController::__construct function core/modules/media/src/Controller/OEmbedIframeController.php Constructs an OEmbedIframeController instance.
OEmbedIframeControllerTest class core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php @coversDefaultClass \Drupal\media\Controller\OEmbedIframeController[[api-linebreak]]
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.
OEmbedInterface interface core/modules/media/src/Plugin/media/Source/OEmbedInterface.php Defines additional functionality for source plugins that use oEmbed.
OEmbedInterface.php file core/modules/media/src/Plugin/media/Source/OEmbedInterface.php
OEmbedInterface::getProviders function core/modules/media/src/Plugin/media/Source/OEmbedInterface.php Returns the oEmbed provider names.
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::$disallowedProviderMessage property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php The error message if the URL matches a disallowed provider.
OEmbedResourceConstraint::$invalidResourceMessage property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraint.php The error message if the URL is not a valid oEmbed resource.
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.

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