Documentation

CustomFieldSaveTrait

Code shared by CustomField create/update/save actions

Table of Contents

Methods

write()  : mixed
formatOptionValues()  : void
If 'option_values' have been supplied, reformat it according to the expectations of the BAO

Methods

write()

protected write(array<string|int, mixed> $items) : mixed
Parameters
$items : array<string|int, mixed>
Tags
inheritDoc

formatOptionValues()

If 'option_values' have been supplied, reformat it according to the expectations of the BAO

private static formatOptionValues(array<string|int, mixed> &$field) : void
Parameters
$field : array<string|int, mixed>

        
On this page

Search results