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

Breadcrumb

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

function Endpoint::supportsDiscovery

Returns whether the provider supports oEmbed discovery.

Return value

bool Returns TRUE if the provides discovery, otherwise FALSE.

File

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

Class

Endpoint
Value object for oEmbed provider endpoints.

Namespace

Drupal\media\OEmbed

Code

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

API Navigation

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