public function Endpoint::getSchemes in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getSchemes()
Returns list of URL schemes supported by the provider.
Return value
string[] List of schemes.
1 call to Endpoint::getSchemes()
- Endpoint::matchUrl in core/
modules/ media/ src/ OEmbed/ Endpoint.php - Tries to match a URL against the endpoint schemes.
File
- core/
modules/ media/ src/ OEmbed/ Endpoint.php, line 118
Class
- Endpoint
- Value object for oEmbed provider endpoints.
Namespace
Drupal\media\OEmbedCode
public function getSchemes() {
return $this->schemes;
}