Building form with entity reference and view (D8)

I've been trying to build a form referencing an entity using an entity reference view. The general purpose is to allow more fine-grained filtering for this form and other module forms than supplied by the standard entity_reference handler, without having to build a plugin or use hook_query_alter.  Though I am definitely open to such suggestions (esp. with pointers to good detailed documentation) - I am using entities and it seems some such docs are for nodes.

Here's the methodology I followed so far, with some notes along the way.

d8 switch view_mode of single paragraphs entity

Hi folks,

I use paragraphs module for content of the nodes full view. My users like to upload several images on a node so I've used two paragraph types for images, one to display images in masonry style, one for slideshows. Unfortunately, if you want to switch the display after uploading the images you have to delete fEx the masonry paragraph and upload all images again on the slideshow paragraph :(

Content moderation select list

Hello,

I want please to alter the action executed after selecting a moderation state from the content moderation field widget.

I have the field widget of content moderation set and it is displayed as a select list.

I would like to alter the action executed after selecting 'deleted' (for eg) and saving the node.

How can I achieve this please?

Thank you!

CKEditor and video media

Hi

After several weeks of researchs and a great lot of web pages read... I decide to try some help !
I simply woul like to have some button in CKEditor to insert my "own" video in basic pages or blog pages...

What the best way to do that.

I tried "video_embed_field" and "video"" module... and I don't understand what the include "media" module could offer me!!

Regards

Cloned content twice after migration

After migrating my Drupal 8 website to another server, when I trying to clone article, the content is cloned twice.

What could be the problem?
 

Cannot upgrade 8.3.9 to any version via composer

With Composer, I never was able to upgrade my Drupal 8.3.9 to 8.4 due to composer error and any solution doesn't work for me...

Ex. I run: composer update --with-dependencies drupal/core:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x