3 votes

Convert field from string_long to text_long

Here's the solution I came up with based on the example code provided by https://drupal.stackexchange.com/users/71454/miststudent2011. I had to adapt it a bit for this specific case: /** * Convert ...
user avatar
  • 640
1 vote
Accepted

How to change a custom entity field type - with revisions

In addition to updating the main table, you also need to update the revision table, so the following changes should be made: $id_key = $entity_definition->getKey('id'); becomes $id_key = $...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible