drupal 8.5.5 : images are not displayed in the articles

Helo,

I just installed the new version 8.8.5 drupal but the images are not displayed in the articles; I have installed and activated the modules but the images still do not display.
help me please

virk

How can I assign a field to a entity bundle.

Hello I have create a module, I have create also the file field.storage.paragraph.parrados_description.yml,

I can assign the field with the UI.

But what I'm looking is to assign the field to the bundles programatically throught a form,  What is the method or function that let assign a field to a entity?

Thanks.

Oskar

using #states in form_alter on node form

All of the documentation and examples I can find say you should be able to set the '#states' key in the top level array for a field in a node form from within a hook_form_alter() implementation. Like

How to prevent users from editing their own profile?

Hi all.

(I found this question for previous versions and the truth is that I have the same question for Drupal 8.)

Apologies - I'm sure this has been asked many times but I just can't seem to find the answer I'm looking for.

I'm using Drupal for a school website. 

Rather than give parents an individual login (there are lots of reasons why I don't want to do this), we've decided to give them a shared login name of "parent" and a common password.

Therefore the "parent" user account needs to be treated differently from normal accounts:

Enable Drupal 8/9/10 backend errorlog/debugging mode

When you have faced the unexpected error in Drupal 8 website during installation or updation

The website encountered an unexpected error. Please try again later.

In Drupal 8 there is a way to trace the error and displaying it in the message area. You can put the following code in your settings.local.php file which you can create by copying sites/example.settings.local.php and rename it to sites/default/settings.local.php.

Hook with Webform Drupal 8

Hello

I am using Webform module and I want to have a custom thank-you page. In my webform settings (called 'test-form') : Administration > Structure > Webform > Confirmation type, I have selected Inline.

But I have created a hook because I want the webform to redirect to a specific thank you page based on their submissions and I want to send the data using Rest API.

Unfortunately, it doesn't work, I have the impression that the confirmation type in the settings overwrite the redirect in the hook. 

Here is my custom module code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x