Added accreditation date field to clients
This commit is contained in:
		| @ -3,6 +3,7 @@ langcode: en | |||||||
| status: true | status: true | ||||||
| dependencies: | dependencies: | ||||||
|   config: |   config: | ||||||
|  |     - field.field.oc_organisation.client.field_accreditation_date | ||||||
|     - field.field.oc_organisation.client.field_client_status |     - field.field.oc_organisation.client.field_client_status | ||||||
|     - field.field.oc_organisation.client.field_client_substatus |     - field.field.oc_organisation.client.field_client_substatus | ||||||
|     - field.field.oc_organisation.client.field_client_subtype |     - field.field.oc_organisation.client.field_client_subtype | ||||||
| @ -17,6 +18,7 @@ dependencies: | |||||||
|     - field.field.oc_organisation.client.field_umbrella_client |     - field.field.oc_organisation.client.field_umbrella_client | ||||||
|     - opencase_entities.oc_organisation_type.client |     - opencase_entities.oc_organisation_type.client | ||||||
|   module: |   module: | ||||||
|  |     - datetime | ||||||
|     - file |     - file | ||||||
| _core: | _core: | ||||||
|   default_config_hash: OUNi7pV7COebgUedxmuEz4ZF1VF4QDet2AcZ_2j3jQs |   default_config_hash: OUNi7pV7COebgUedxmuEz4ZF1VF4QDet2AcZ_2j3jQs | ||||||
| @ -25,6 +27,12 @@ targetEntityType: oc_organisation | |||||||
| bundle: client | bundle: client | ||||||
| mode: default | mode: default | ||||||
| content: | content: | ||||||
|  |   field_accreditation_date: | ||||||
|  |     weight: 62 | ||||||
|  |     settings: {  } | ||||||
|  |     third_party_settings: {  } | ||||||
|  |     type: datetime_default | ||||||
|  |     region: content | ||||||
|   field_client_status: |   field_client_status: | ||||||
|     weight: 4 |     weight: 4 | ||||||
|     settings: {  } |     settings: {  } | ||||||
|  | |||||||
| @ -3,6 +3,7 @@ langcode: en | |||||||
| status: true | status: true | ||||||
| dependencies: | dependencies: | ||||||
|   config: |   config: | ||||||
|  |     - field.field.oc_organisation.client.field_accreditation_date | ||||||
|     - field.field.oc_organisation.client.field_client_status |     - field.field.oc_organisation.client.field_client_status | ||||||
|     - field.field.oc_organisation.client.field_client_substatus |     - field.field.oc_organisation.client.field_client_substatus | ||||||
|     - field.field.oc_organisation.client.field_client_subtype |     - field.field.oc_organisation.client.field_client_subtype | ||||||
| @ -17,6 +18,7 @@ dependencies: | |||||||
|     - field.field.oc_organisation.client.field_umbrella_client |     - field.field.oc_organisation.client.field_umbrella_client | ||||||
|     - opencase_entities.oc_organisation_type.client |     - opencase_entities.oc_organisation_type.client | ||||||
|   module: |   module: | ||||||
|  |     - datetime | ||||||
|     - file |     - file | ||||||
|     - options |     - options | ||||||
| _core: | _core: | ||||||
| @ -26,6 +28,15 @@ targetEntityType: oc_organisation | |||||||
| bundle: client | bundle: client | ||||||
| mode: default | mode: default | ||||||
| content: | content: | ||||||
|  |   field_accreditation_date: | ||||||
|  |     weight: 62 | ||||||
|  |     label: above | ||||||
|  |     settings: | ||||||
|  |       format_type: medium | ||||||
|  |       timezone_override: '' | ||||||
|  |     third_party_settings: {  } | ||||||
|  |     type: datetime_default | ||||||
|  |     region: content | ||||||
|   field_client_status: |   field_client_status: | ||||||
|     weight: 6 |     weight: 6 | ||||||
|     label: above |     label: above | ||||||
|  | |||||||
| @ -0,0 +1,21 @@ | |||||||
|  | uuid: 3261ac4b-36e5-483b-af01-ec2a7852ac5b | ||||||
|  | langcode: en | ||||||
|  | status: true | ||||||
|  | dependencies: | ||||||
|  |   config: | ||||||
|  |     - field.storage.oc_organisation.field_accreditation_date | ||||||
|  |     - opencase_entities.oc_organisation_type.client | ||||||
|  |   module: | ||||||
|  |     - datetime | ||||||
|  | id: oc_organisation.client.field_accreditation_date | ||||||
|  | field_name: field_accreditation_date | ||||||
|  | entity_type: oc_organisation | ||||||
|  | bundle: client | ||||||
|  | label: 'Accreditation date' | ||||||
|  | description: 'If the client has more than one accreditation then this will show the date of the most recent one.' | ||||||
|  | required: false | ||||||
|  | translatable: false | ||||||
|  | default_value: {  } | ||||||
|  | default_value_callback: '' | ||||||
|  | settings: {  } | ||||||
|  | field_type: datetime | ||||||
| @ -0,0 +1,24 @@ | |||||||
|  | uuid: dcd05ff2-5201-46ba-ae2a-3da730db0826 | ||||||
|  | langcode: en | ||||||
|  | status: true | ||||||
|  | dependencies: | ||||||
|  |   module: | ||||||
|  |     - datetime | ||||||
|  |     - field_permissions | ||||||
|  |     - opencase_entities | ||||||
|  | third_party_settings: | ||||||
|  |   field_permissions: | ||||||
|  |     permission_type: public | ||||||
|  | id: oc_organisation.field_accreditation_date | ||||||
|  | field_name: field_accreditation_date | ||||||
|  | entity_type: oc_organisation | ||||||
|  | type: datetime | ||||||
|  | settings: | ||||||
|  |   datetime_type: date | ||||||
|  | module: datetime | ||||||
|  | locked: false | ||||||
|  | cardinality: 1 | ||||||
|  | translatable: true | ||||||
|  | indexes: {  } | ||||||
|  | persist_with_no_fields: false | ||||||
|  | custom_storage: false | ||||||
		Reference in New Issue
	
	Block a user