World’s Best Wedding Photos came to Black Antelope to design and build their site, which is a platform that promotes the best wedding photographers and photos from all around the world. The website runs photography contests, and ultimately is a highly curated directory of the best wedding photographers available for hire.
I've created a content type with some fields, but i need to add a field that will be used to save a value and showed on all nodes for this content type,
So how can i create a field with the same value for the same content type?
What is the best way to trigger code to run after a user changes the order or weight of items in a multi-value field on an entity?
In my particular case I'm mostly interested in when a user changes the order of content in a multi-value field on a custom content type. The following is not my actual use case, but it's the easiest analog I could describe simply to illustrate an example.
My site has recipe entity type. This has been there since Drupal 4 days. It got auto migrated from D7 to D8.
It has two fields (among many) : Instructions and Notes. Both these fields had images with external sources. Strange thing is that in Drupal 8 the instructions field is not getting subjected to external image filter and images are shown without any check, while the images in the Notes fields are getting subjected to this filter and are duly getting removed.
In a drupal 8 I have installed the Simplenews module and I have activated the block with the subscription form. This form asks for a lot more information than I want. How can I remove fields?