EditorsRegistryInterface

Interface for Editor Registry classes

since

5.0.0

package

Joomla CMS

Methods

add

Register element in registry, add new or override existing.

add(\Joomla\CMS\Editor\EditorProviderInterface instance) : \Joomla\CMS\Editor\EditorsRegistryInterface
since

5.0.0

Arguments

instance

EditorProviderInterface

Response

EditorsRegistryInterface

get

Return element by name.

get( name) : \Joomla\CMS\Editor\EditorProviderInterface
throws

EditorNotFoundException

since

5.0.0

Arguments

name

stringElement name

Response

EditorProviderInterface

getAll

Return list of all registered elements

getAll() : \Joomla\CMS\Editor\EditorProviderInterface||string|int
since

5.0.0

Response

array<string|int, EditorProviderInterface>

has

Check whether the element exists in the registry.

has( name) : 
since

5.0.0

Arguments

name

stringElement name

Response

bool

initRegistry

Initial set up of the registry elements through plugins etc.

initRegistry() : \Joomla\CMS\Editor\EditorsRegistryInterface
since

5.0.0

Response

EditorsRegistryInterface