function Provider::getEndpoints

Same name in other branches
  1. 8.9.x core/modules/media/src/OEmbed/Provider.php \Drupal\media\OEmbed\Provider::getEndpoints()
  2. 10 core/modules/media/src/OEmbed/Provider.php \Drupal\media\OEmbed\Provider::getEndpoints()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.