How to change Machine name and human readable name for entity type and bundle?
I have some entities inside that bundle. I do not want all entities lose.
Thanks

Comments

kmajzlik’s picture

Assigned: drvdt » Unassigned
Category: support » feature

Bad idea about change machine name... (there are tables created in DB, there are data in field tables etc).

Great idea about change human readable name. Anybody know a real reason to have it disabled? I think that it should be only about #disabled property of form item.

Chris Gillis’s picture

As far as I understand, the db tablename does not have to match the machine name (it is prefixed with eck_ anyway), so changing it should be possible? I have an eck entity called "payment". Now I am going to install the payment module, but don't want to get conflicts... so I need to change the eck entity to old_payments so I can transition them over once everything is setup. I suppose I will go and change the values directly in the db...

damienmckenna’s picture

Version: 7.x-2.0-beta1 » 7.x-2.x-dev
Issue summary: View changes
pedrosp’s picture

I've changed (only) the human readable name of an ECK with pre-existing data, editing the database table "eck_bundle", column "label".
So far, so good. I guess it shouldn't be harmful to allow to change the label through the UI.

dieterholvoet’s picture

Status: Active » Closed (won't fix)

We're dropping support for Drupal 7 since it has officially reached end of life on the 5th of January 2025.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.