Craft Activity (1.x)

Fields extends Component
in package

Tags
since
1.2.0

Table of Contents

EVENT_REGISTER_FIELD_LABELS  = 'register-field-labels'
EVENT_REGISTER_FIELD_TYPINGS  = 'register-field-typings'
EVENT_REGISTER_TRACKED_FIELDS  = 'register-tracked-fields'
$fieldLabels  : array<string|int, mixed>
$fieldTypings  : array<string|int, mixed>
$trackedFields  : array<string|int, mixed>
getFieldLabels()  : array<string|int, mixed>
Get the labels for for a field type
getTrackedFieldNames()  : array<string|int, mixed>
Get tracked config names for a field type
getTrackedFieldTypings()  : array<string|int, mixed>
Get fields typings for a field type

Constants

EVENT_REGISTER_FIELD_LABELS

public mixed EVENT_REGISTER_FIELD_LABELS = 'register-field-labels'

EVENT_REGISTER_FIELD_TYPINGS

public mixed EVENT_REGISTER_FIELD_TYPINGS = 'register-field-typings'

EVENT_REGISTER_TRACKED_FIELDS

public mixed EVENT_REGISTER_TRACKED_FIELDS = 'register-tracked-fields'

Properties

$fieldLabels

protected array<string|int, mixed> $fieldLabels

$fieldTypings

protected array<string|int, mixed> $fieldTypings

$trackedFields

protected array<string|int, mixed> $trackedFields

Methods

getFieldLabels()

Get the labels for for a field type

public getFieldLabels(string $type) : array<string|int, mixed>
Parameters
$type : string
Return values
array<string|int, mixed>

getTrackedFieldNames()

Get tracked config names for a field type

public getTrackedFieldNames(string $type) : array<string|int, mixed>
Parameters
$type : string
Return values
array<string|int, mixed>

getTrackedFieldTypings()

Get fields typings for a field type

public getTrackedFieldTypings(string $type) : array<string|int, mixed>
Parameters
$type : string
Return values
array<string|int, mixed>

Search results