Is it possible to add external PHP libraries to drupal8 auto-discover mechanism without composer?

Is it possible to add external PHP libraries to drupal8 auto-discover mechanism without composer?

[SOLVED]Custom content entity type slow down website

Hello,

I created an content entity to save a lot of data. They are 2 bundles for individual or professional. Each of them are 1 custom field.

That's the context, now my problem is, on some page, for example list of user or module's page, when I have thousand entity in my custom entity, my website is very slow and fallout in timeout.

I discover this query :

Drupal 8 header.html template by Taxonomy

Hi...

The content on our website is structured by Taxonomy.

The marketing department wants a particular header region by taxonomy.

How could I combine the templates of region and taxonomy?

Thanks,

Pedro

Editing the User menu in admin toolbar

I want to edit the tray elements in the admin toolbar for the users. For example, instead of the text saying 'View profile', I want it to say 'View account' - mainly because I use the word profile in other contexts.

Should be simple, but I have not been able to figure this out.

How to create permanent link to a file?

This seems like it should be extremely straightforward.  So I'm not sure if it's a weak point of Drupal or if I've just been unable to find the correct solution.

The problem:

When you upload a file it changes the url.  So the first time you upload a file you get this link "/sites/default/files/2020-07/filename.pdf"  then when you update the file the url changes to "/sites/default/files/2020-08/filename.pdf"

Other notes:

Drupal coding standards for custom / small utality modules

I am making small small modules mainly to over ride or alter the functionalities like i am using Webform on submission of webform i need to trigger an email to some one so i create a small custom module with two files only.

1. mymodule.info.yml

2. mymodule.module

in mymodule.module i just write one function alter hook and my php code there.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x