Skip to content

Conversation

@lucaslaurent04
Copy link
Collaborator

@lucaslaurent04 lucaslaurent04 commented Nov 13, 2024

Can be used like this for identity\CenterOffice class:

'printer_type' => [
    'type'              => 'string',
    'selection'         => [
        'pos-80',
        'iso-a4'
    ],
    'description'       => 'Printer format to be used for PoS tickets.',
    'default'           => 'defaultSetting', // Use defaultSetting magic method
    'setting_default'   => 'iso-a4',         // Default value if setting does not exists
],

In this specific case the setting complete name is identity.default.center_office.printer_type

@lucaslaurent04 lucaslaurent04 requested review from a user and cedricfrancoys November 13, 2024 15:45
@lucaslaurent04 lucaslaurent04 self-assigned this Nov 13, 2024
@cedricfrancoys cedricfrancoys merged commit 44ec7cd into equalframework:dev-2.0 Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants