FieldsServiceInterface

The fields service.

since

4.0.0

Methods

getContexts

Returns valid contexts.

getContexts() : array
since

4.0.0

Response

array

validateSection

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

validateSection(string $section, object $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