Made person's address fields form- and view-configurable, and bumped version

This commit is contained in:
2021-06-29 09:21:04 +02:00
parent 41505594be
commit 26d78a4f7f
3 changed files with 25 additions and 2 deletions

View File

@ -315,7 +315,8 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
'max_length' => 30,
'text_processing' => 0,
))
->setDisplayConfigurable('form', true)
->setDisplayConfigurable("form", true)
->setDisplayConfigurable("view", true)
->setDisplayOptions('view', array(
'label' => 'above',
'type' => 'string',
@ -333,6 +334,8 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
'max_length' => 20,
'text_processing' => 0,
))
->setDisplayConfigurable("form", true)
->setDisplayConfigurable("view", true)
->setDisplayOptions('view', array(
'label' => 'above',
'type' => 'string',
@ -350,6 +353,8 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
'max_length' => 20,
'text_processing' => 0,
))
->setDisplayConfigurable("form", true)
->setDisplayConfigurable("view", true)
->setDisplayOptions('view', array(
'label' => 'above',
'type' => 'string',
@ -368,6 +373,8 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
'max_length' => 255,
'text_processing' => 0,
))
->setDisplayConfigurable("form", true)
->setDisplayConfigurable("view", true)
->setDisplayOptions('view', array(
'label' => 'above',
'type' => 'basic_string',
@ -385,6 +392,8 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
'max_length' => 10,
'text_processing' => 0,
))
->setDisplayConfigurable("form", true)
->setDisplayConfigurable("view", true)
->setDisplayOptions('view', array(
'label' => 'above',
'type' => 'string',