Documentation

AfformAdminInjector extends AutoSubscriber
in package

AutoSubscriber allows child classes to listen to events.

Table of Contents

Methods

getSubscribedEvents()  : array<string|int, mixed>
preprocess()  : mixed

Methods

getSubscribedEvents()

public static getSubscribedEvents() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

preprocess()

public static preprocess(GenericHookEvent $e) : mixed
Parameters
$e : GenericHookEvent

This injects static html to render a small admin-only menu at the top corner of each form. Permissions are checked client-side.

Tags
see

afCoreDirective.checkLinkPerm


        
On this page

Search results