You are here

public function OEmbedResourceUrlAlterEvent::getProvider in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/media_event_dispatcher/src/Event/Media/OEmbedResourceUrlAlterEvent.php \Drupal\media_event_dispatcher\Event\Media\OEmbedResourceUrlAlterEvent::getProvider()

Get the oEmbed provider for the resource to be retrieved.

Return value

\Drupal\media\OEmbed\Provider The oEmbed provider for the resource.

File

modules/media_event_dispatcher/src/Event/Media/OEmbedResourceUrlAlterEvent.php, line 65

Class

OEmbedResourceUrlAlterEvent
Class OEmbedResourceUrlAlterEvent.

Namespace

Drupal\media_event_dispatcher\Event\Media

Code

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