Iframe
extends AutoService
in package
implements
EventSubscriberInterface
AutoService is a base-class for defining a service (in Civi's service-container).
Tags
Table of Contents
Interfaces
- EventSubscriberInterface
Methods
- getSubscribedEvents() : mixed
- getTemplate() : string
- Determine which template to use for the iframe entry-point.
- onRenderUrl() : mixed
- Generate physical URLs for `iframe://` links (per `civi.url.render.iframe`).
Methods
getSubscribedEvents()
public
static getSubscribedEvents() : mixed
getTemplate()
Determine which template to use for the iframe entry-point.
public
getTemplate() : string
Return values
string —Ex: 'Civi\Iframe\EntryPoint\Drupal8'
onRenderUrl()
Generate physical URLs for `iframe://` links (per `civi.url.render.iframe`).
public
onRenderUrl(Url $url, string|null &$result) : mixed
Parameters
- $url : Url
- $result : string|null