ButtonsRegistry
Implements ButtonsRegistryInterface, DispatcherAwareInterfaceButtons Registry class
final
| since |
5.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
add
Register element in registry, add new or override existing.
add(\Joomla\CMS\Editor\Button\ButtonInterface instance) :
getAll
Return list of all registered elements.
getAll() : \Joomla\CMS\Editor\Button\ButtonInterface||string|int
initRegistry
Trigger event to allow to register the elements through plugins.
initRegistry(mixed||string|int options = []) : \Joomla\CMS\Editor\Button\ButtonsRegistryInterface
| since |
5.0.0 |
|---|
Arguments
- options
array<string|int, mixed>Extra data with editor information.
Response
Properties
registry
List of registered elements
| since |
5.0.0 |
|---|
Type(s)
array<string|int, mixed>
initialised
Internal flag of initialisation
| since |
5.0.0 |
|---|
Type(s)
bool