function Endpoint::getProvider
Same name in other branches
- 9 core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getProvider()
- 8.9.x core/modules/media/src/OEmbed/Endpoint.php \Drupal\media\OEmbed\Endpoint::getProvider()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.