function IFrameUrlHelper::__construct

Same name and namespace in other branches
  1. 10 core/modules/media/src/IFrameUrlHelper.php \Drupal\media\IFrameUrlHelper::__construct()
  2. 11.x core/modules/media/src/IFrameUrlHelper.php \Drupal\media\IFrameUrlHelper::__construct()
  3. 9 core/modules/media/src/IFrameUrlHelper.php \Drupal\media\IFrameUrlHelper::__construct()
  4. 8.9.x core/modules/media/src/IFrameUrlHelper.php \Drupal\media\IFrameUrlHelper::__construct()

IFrameUrlHelper constructor.

Parameters

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

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

File

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

Class

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

Namespace

Drupal\media

Code

public function __construct(protected RequestContext $requestContext, protected PrivateKey $privateKey) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.