public function Endpoint::getProvider in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getProvider()
- 9 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\OEmbedCode
public function getProvider() {
return $this->provider;
}