removed uuids from configs, and removed some depcreated code from update hook
This commit is contained in:
parent
dad1ffc746
commit
0de22b7e90
@ -1,4 +1,3 @@
|
||||
uuid: 5715def9-7c66-4fd5-bd33-cbd0d817a8f7
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 3be6941a-41a5-4f81-a3ac-2f5741061ec4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 97d85717-c582-4efa-93cc-786cc078f3d5
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: da67cba0-f1ea-438c-8c96-71fb9d769f5a
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: a559f6f0-cc30-4a13-8882-7a042a965fc7
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 35db2b5a-8ce8-4d8c-930d-195da8c0f895
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: acfde2f5-ba98-4e83-ba0e-712b23ee4330
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 8c80505b-97bb-4668-a24c-9c776b0661ba
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 58b926b1-a245-4d73-8cca-b93d92b59144
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: aa34a1ff-3c45-408b-b0ad-f8b9138a4358
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: cf3b8b2e-1857-42bc-a807-b62b8ff2c458
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 91abf4d4-f0dd-4465-b801-2d0ce8e5c006
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 9f9d34a2-2d19-4b77-a1a0-8c988ab86a90
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 0ee88268-bd79-4d17-9520-b1db6f1ad697
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
|
@ -1,4 +1,3 @@
|
||||
uuid: 4b101a8b-ca08-462e-a2c7-acf2d988ec67
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
|
@ -100,14 +100,9 @@ function opencase_entities_update_80198() {
|
||||
|
||||
function opencase_entities_update_80197() {
|
||||
//check if the table exists first. If not, then create the entity.
|
||||
if(!db_table_exists('oc_organisation')) {
|
||||
\Drupal::entityTypeManager()->clearCachedDefinitions();
|
||||
\Drupal::entityDefinitionUpdateManager()
|
||||
->installEntityType(\Drupal::entityTypeManager()->getDefinition('oc_organisation'));
|
||||
}
|
||||
else {
|
||||
return 'Organisation entity already exists';
|
||||
}
|
||||
}
|
||||
|
||||
function opencase_entities_update_80192(&$sandbox) {
|
||||
|
Reference in New Issue
Block a user