function Endpoint::supportsDiscovery
Same name in other branches
- 9 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::supportsDiscovery()
- 10 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::supportsDiscovery()
- 11.x 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\OEmbedCode
public function supportsDiscovery() {
return $this->supportsDiscovery;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.