Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Does it makes sense to add an option to select a different class name for a migration?
Adding it onto the edit page should be trivial.
- Add a form element, defaulting to the current class.
- Add a validate function that runs if (class_exists....
- Use the selected class name in the submit handler.
Comment | File | Size | Author |
---|---|---|---|
#1 | select_different_class_name-2231639-1.patch | 2.1 KB | roberttstephens |
Comments
Comment #1
roberttstephens CreditAttribution: roberttstephens commentedIf so, I added a patch that does what is described above.
Comment #2
pifagor