ResourceProviderInterface

Adminpanel interface to denote that a module has own resource files.

An adminpanel module implementing this interface may deliver custom JavaScript and Css files to provide additional styling and JavaScript functionality

Table of Contents

Methods

getCssFiles()  : array<string|int, mixed>
Returns a string array with css files that will be rendered after the module
getJavaScriptFiles()  : array<string|int, mixed>
Returns a string array with javascript files that will be rendered after the module

Methods

getCssFiles()

Returns a string array with css files that will be rendered after the module

public getCssFiles() : array<string|int, mixed>

Example: return ['EXT:adminpanel/Resources/Public/JavaScript/Modules/Edit.css'];

Return values
array<string|int, mixed>

getJavaScriptFiles()

Returns a string array with javascript files that will be rendered after the module

public getJavaScriptFiles() : array<string|int, mixed>

Example: return ['EXT:adminpanel/Resources/Public/JavaScript/Modules/Edit.js'];

Return values
array<string|int, mixed>

        
On this page

Search results