Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Endpoint.php

function 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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal