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

Breadcrumb

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

function IFrameUrlHelper::__construct

IFrameUrlHelper constructor.

Parameters

\Drupal\Core\Routing\RequestContext $request_context: The request context service.

\Drupal\Core\PrivateKey $private_key: The private key service.

File

core/modules/media/src/IFrameUrlHelper.php, line 41

Class

IFrameUrlHelper
Providers helper functions for displaying oEmbed resources in an iFrame.

Namespace

Drupal\media

Code

public function __construct(RequestContext $request_context, PrivateKey $private_key) {
    $this->requestContext = $request_context;
    $this->privateKey = $private_key;
}

API Navigation

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