EditorProviderInterface

Editor provider interface

since

5.0.0

package

Joomla CMS

Methods

display

Gets the editor HTML markup

display( name,  content = '', mixed||string|int attributes = [], mixed||string|int params = []) : 
since

5.0.0

Arguments

name

stringInput name.

content

stringThe content of the field.

attributes

array<string|int, mixed>Associative array of editor attributes.

params

array<string|int, mixed>Associative array of editor parameters.

Response

stringThe HTML markup of the editor

getButtons

Load the editor buttons.

getButtons( buttons, mixed||string|int options = []) : \Joomla\CMS\Editor\Button\ButtonInterface||string|int
since

5.0.0

Arguments

buttons

mixedArray with button names to be excluded. Empty array or boolean true to display all buttons.

options

array<string|int, mixed>Associative array with additional parameters

Response

array<string|int, ButtonInterface>

getName

Return Editor name, CMD string.

getName() : 
since

5.0.0

Response

string