public function Resource::getProvider in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::getProvider()
Returns the resource provider, if known.
Return value
\Drupal\media\OEmbed\Provider|null The resource provider, or NULL if the provider is not known.
File
- core/
modules/ media/ src/ OEmbed/ Resource.php, line 405
Class
- Resource
- Value object representing an oEmbed resource.
Namespace
Drupal\media\OEmbedCode
public function getProvider() {
return $this->provider;
}