AbstractEditorProvider

Implements EditorProviderInterface, DispatcherAwareInterface

Abstract editor provider

abstract
since

5.0.0

package

Joomla CMS

Methods

displayButtons

Helper method for rendering the editor buttons.

displayButtons( buttons, mixed||string|int options = []) : 
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

string

getButtons

Load the editor buttons.

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

Exception

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>