Commit 59755498 authored by Igor Biki's avatar Igor Biki
Browse files

ISTWCMS-4586 Code standards.

parent 461fd31f
......@@ -20,7 +20,6 @@ function uw_ct_profile_form_node_uw_ct_profile_form_alter(&$form, FormStateInter
if ($form['field_uw_ct_profile_contact']['widget'][0]['target_id']) {
foreach (_uw_ct_profile_alter_fields() as $profile_field => $contact_field) {
// $form[$profile_field]['widget'][0]['value']['#value'] = $contact->$contact_field->value;
$form[$profile_field]['widget'][0]['value']['#attributes']['readonly'] = 'readonly';
}
}
......@@ -70,5 +69,3 @@ function _uw_ct_profile_alter_fields(): array {
'field_uw_ct_profile_title' => 'field_uw_ct_contact_title',
];
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment