Hello,

It would be nice for Asset entities to have their title replace-able / translatable..

Jonathan-David

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

myselfhimself’s picture

Here's a patch to allow for Asset entities title field replacing with title_field field, allowing for title translation.

This patch is just a copy paste of the 'title' field replacement code for 'node' entity within title_entity_info(), where the entity name is changed to 'asset'.

myselfhimself’s picture

Here's a better formatted patch!

DrColossos’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community

we are using this patch for a long time and it works very well for us

plach’s picture

Project: Title » Asset
Status: Reviewed & tested by the community » Needs work

Sorry, Title implements its own API only for core modules. This should be moved to the Asset queue and adjusted accordingly.