You are here

public function Provider::getEndpoints in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/Provider.php \Drupal\media\OEmbed\Provider::getEndpoints()

Returns the provider endpoints.

Return value

\Drupal\media\OEmbed\Endpoint[] List of endpoints this provider exposes.

File

core/modules/media/src/OEmbed/Provider.php, line 96

Class

Provider
Value object for oEmbed providers.

Namespace

Drupal\media\OEmbed

Code

public function getEndpoints() {
  return $this->endpoints;
}