public function Endpoint::supportsDiscovery in Drupal 9
Same name and namespace in other branches
- 8 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()
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;
}