ContentProviderInterface

Adminpanel interface to denote that a module has content to be rendered

In general there are two main types of admin panel modules: those providing settings influencing page rendering (for example the preview module provides settings for displaying hidden pages or records) and those rendering information regarding the current request (for example the log module).

Modules implementing this interface denote that they render module content.

Table of Contents

Methods

getContent()  : string
Main method for content generation of an admin panel module.

Methods

getContent()

Main method for content generation of an admin panel module.

public getContent(ModuleData $data) : string

Return content as HTML. For modules implementing the DataProviderInterface the "ModuleData" object is automatically filled with the stored data - if no data is given a "fresh" ModuleData object is injected.

Parameters
$data : ModuleData
Return values
string

        
On this page

Search results