You are here

public function Endpoint::getSchemes in Drupal 8

Same name and namespace in other branches
  1. 9 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.

File

core/modules/media/src/OEmbed/Endpoint.php, line 118

Class

Endpoint
Value object for oEmbed provider endpoints.

Namespace

Drupal\media\OEmbed

Code

public function getSchemes() {
  return $this->schemes;
}