Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. OEmbedInterface.php

function OEmbedInterface::getProviders

Returns the oEmbed provider names.

The allowed providers can be configured by the user. If it is not configured, all providers supported by the plugin are returned.

Return value

string[] A list of oEmbed provider names.

1 method overrides OEmbedInterface::getProviders()
OEmbed::getProviders in core/modules/media/src/Plugin/media/Source/OEmbed.php
Returns the oEmbed provider names.

File

core/modules/media/src/Plugin/media/Source/OEmbedInterface.php, line 21

Class

OEmbedInterface
Defines additional functionality for source plugins that use oEmbed.

Namespace

Drupal\media\Plugin\media\Source

Code

public function getProviders();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal