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