function Endpoint::supportsDiscovery

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

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