15 use \PKP\components\forms\context\PKPMastheadForm;
16 use \PKP\components\forms\FieldText;
17 use \PKP\components\forms\FieldSelect;
28 $codeTypeOptions = array_map(
function($code, $name) {
29 return [
'value' => $code,
'label' => $name];
30 }, array_keys($codeTypes), $codeTypes);
34 'label' => __(
'manager.settings.publisher.identity'),
35 'description' => __(
'manager.settings.publisher.identity.description'),
36 ], [FIELD_POSITION_AFTER,
'identity'])
38 'label' => __(
'manager.settings.publisher'),
39 'value' => $context->getData(
'publisher'),
44 'label' => __(
'manager.settings.location'),
45 'value' => $context->getData(
'location'),
49 'label' => __(
'manager.settings.publisherCodeType'),
50 'value' => $context->getData(
'codeType'),
51 'options' => $codeTypeOptions,
55 'label' => __(
'manager.settings.publisherCode'),
56 'value' => $context->getData(
'codeValue'),