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

Breadcrumb

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

function Endpoint::getSchemes

Returns list of URL schemes supported by the provider.

Return value

string[] List of schemes.

1 call to Endpoint::getSchemes()
Endpoint::matchUrl in core/modules/media/src/OEmbed/Endpoint.php
Tries to match a URL against the endpoint schemes.

File

core/modules/media/src/OEmbed/Endpoint.php, line 118

Class

Endpoint
Value object for oEmbed provider endpoints.

Namespace

Drupal\media\OEmbed

Code

public function getSchemes() {
    return $this->schemes;
}

API Navigation

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