You are here

public function Endpoint::supportsDiscovery in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::supportsDiscovery()
  2. 10 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\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;
}