Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299324

Machine name field for content type entity

$
0
0

I'm trying to port PET module, it uses custom entity to manage mail templates.
It has a machine name field, which I'm not able to make in Drupal 8. I checked code of Drupal 8 core, it uses machine name field for config type entities only, I did same way but it does not behave like machine name.

Please guide me what changes I need to do for make machine name working for content entity. Also let me know if this is an issue in core, I think the way fields are rendered in content entity might be the reason.

Current code can be seen here http://cgit.drupalcode.org/pet/tree/.


Viewing all articles
Browse latest Browse all 299324

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>