You are here

public function Endpoint::getProvider in Drupal 9

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

Returns the provider this endpoint belongs to.

Return value

\Drupal\media\OEmbed\Provider The provider object.

File

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

Class

Endpoint
Value object for oEmbed provider endpoints.

Namespace

Drupal\media\OEmbed

Code

public function getProvider() {
  return $this->provider;
}