FieldsServiceInterface

The fields service.

since

4.0.0

package

Joomla CMS

Methods

getContexts

Returns valid contexts.

getContexts() : mixed||string|int
since

4.0.0

Response

array<string|int, mixed>

validateSection

Returns a valid section for the given section. If it is not valid then null is returned.

validateSection( section,  item = null) : string|null
since

4.0.0

Arguments

section

stringThe section to get the mapping for

item

objectThe item

Response

string|nullThe new section