Skip to content

Commit

Permalink
Merge pull request #114 from City-of-Helsinki/UHF-X-ontology-word-dis…
Browse files Browse the repository at this point in the history
…play-view-fix

Remove readonly_field_widget from view display options
  • Loading branch information
tapsal committed Apr 20, 2022
2 parents 1e70d91 + 3ccf89f commit 478f235
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions helfi_tpr.install
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,6 @@ function helfi_tpr_update_8038() : void {
->setDisplayConfigurable('view', TRUE)
->setDisplayOptions('form', [
'type' => 'readonly_field_widget',
])
->setDisplayOptions('view', [
'type' => 'readonly_field_widget',
]);

foreach ($fields as $name => $field) {
Expand Down
3 changes: 0 additions & 3 deletions src/Entity/OntologyWordDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type): a
->setDisplayConfigurable('view', TRUE)
->setDisplayOptions('form', [
'type' => 'readonly_field_widget',
])
->setDisplayOptions('view', [
'type' => 'readonly_field_widget',
]);

return $fields;
Expand Down

0 comments on commit 478f235

Please sign in to comment.