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.
- isSupported() : bool
- Is there a driver that supports IFRAMEs for this environment?
- 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'
isSupported()
Is there a driver that supports IFRAMEs for this environment?
public
isSupported() : bool
Return values
boolonRenderUrl()
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