What Directory is the "root of your Drupal install"

Hello All,

I've installed Drupal 8 using instructions from (Composer to Install Drupal):

Using drupal-composer/drupal-project

To do the default install:

Run composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction

=========

Now it's time to install modules using Composer. I am not yet Git or Composer savvy.

how to access $form_state object inside a custom service class which extends a core module service

Hi,

I'm using D8 lightning distribution.

I created a custom service extends a core module service in my module and also a custom form.

When this form submitted, the customer service class method will be called before the submitForm method. And I need to do something in this service class method but it needs data from the $form_state object.

I don't know how to access $form_state object in my custom service class. How can I do this?

Thank you!

Creating a PDF from selected nodes

Is there a way to create a PDF from arbitrarily selected nodes? Someone wants to create a PDF from manually selected content. He might, for instance, see a list of recently published content, and select 4 of them to combine together into a PDF. I see that we can create PDFs from individual nodes and from views, but I haven't see anything that supports manually selecting a combination of nodes.

Client area with files. Guidelines needed

Hello,

i have been asked to add a functionality in a Drupal 8 website. The administrator wants to have registered users where each user can have her own files. The files will be uploaded by administrator only and every file is committed to a registered user. So when a client is logged in, there should be an "area" where he can view/download her own files (maybe organised in categories/subcategories or folders/subfolders). Think of a mini Google Drive area in read only mode but for every single user who is registered to the website.

All images disappeared after updating image field

I updated Image field in all Content Types, and all Images are disappeared now, and appropriate Views are either disappeared or without images....

I only updating from Single Image to Unlimited Image field, I did't thought this should completely screw up all images?! Why?! Instead of 1 image I wanted to be able eventually upload more, why they disappeared?!

Update:

It's not funny! I checked MySQL node__field_image table, and it was Empty....

views no results behavior translation

Hello,

I've a view with a global text area in 'no results behavior'.
I want to add a custom translate like this -> {{ "No result found"|t }}

But that don't work...
 

Do you have any solution please?
Thank :)

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x