Quantcast
Channel: How do I automatically add a title to imported entities? - Drupal Answers
Browsing all 4 articles
Browse latest View live

Answer by Patrick Kenny for How do I automatically add a title to imported...

Feeds has presave and prevalidate events. So another way to approach this is to add an event subscriber (sample code from the maintainer).In this case, validation can be overridden with...

View Article


Answer by Beau for How do I automatically add a title to imported entities?

Why not use Feeds Tamper to assign a default Name?

View Article

Answer by Patrick Kenny for How do I automatically add a title to imported...

There is certainly a more elegant way to do this, but for now I decided to patch the validator itself in /feeds/src/Feeds/Processor/EntityProcessorBase.php:if ($label || $label === '0' || $label === 0)...

View Article

How do I automatically add a title to imported entities?

I have a site with a lot of audio files (using core's Media audio media type).On the Manage form display admin page (/admin/structure/media/manage/audio/form-fields), I have set the Name field to...

View Article
Browsing all 4 articles
Browse latest View live




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