How to hide the modal automatically ?

I have Drupal with Bootstrap 4 theme. I want to hide the modal when I click on a link or on a form-submit in the modal. How to hide the modal automatically ?

Moving a file outside of the public directory

Hi there,

There's a contrib module I'm using that creates a file in the public directory every time cron runs and I'm thinking of making a module that moves this file out of the webroot into a folder on my server.  The way I envision it working is to use the hook_cron to execute a bash script on my server, which then moves it to the desired folder. 

Add a Form to the Block Configuration for a drupal Block in Gutenberg

Hello!

Context:

I took the Gutenberg example Block and I put it in my custom module, so I have \modules\custom\my_module\my_module_blocks.

In my_module_blocks i have a yml file my_module_blocks.info.yml, and I installed My Block in Extensions.

So my question is:

I'm in Gutenberg, I add the block my_module to my page, and at the right of the page, on the side bar, there is a Block Tab.

How to add title to links from field_tags entity reference field

I want to change

<div class="field--item"><a href="/automotive/bmw-ix" rel="dc:subject" hreflang="en">BMW iX</a></div>

to

<div class="field--item"><a href="/automotive/bmw-ix" title="BMW iX" rel="dc:subject" hreflang="en">BMW iX</a></div>

the closest to this I find:

HLN Drive

As car shows are cancelled and test drives are limited, car manufacturers and people who are looking for a car are left out in the cold. With HLN Drive, DPG Media decided to help them out. This Drupal platform functions as an online car show where car manufacturers give their sales a boost and where visitors find all the information they need in the showroom and car selector.

Sectors: 
Media

Translation View language field is missing

I have a multilingual website. But a view always shows all languages. How can I make a view show only the current language of the web page. I tried it with the filter criteria. But I don't see a language field to choose from. Why not, do I have to set anything else? I tried it according to this tutorial:
https://redfinsolutions.com/blog/display-multilingual-drupal-8-views

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x