Node presave

I need to manipulate a content type (people) before being saved from ADMIN.

I need to save the name + surname in the title

I know the presave functions (hook_node_presave or hook_entity_presave) should be used.

My problem is where should these functions be written?

I am writing them in themes / custom / MYPROJECT / MYPROJECT.theme but they do not run

Where are the preset functions written for ADMIN to use instead of the normal ones?

My experience of building a Drupal site with no development knowledge

Hey, I just wanted to share a recent experience I had building a website for my company where I had no background development experience and share some of my findings with others that might be in the same boat as me.

http://www.xenyomedia.com/blog/169/are-drupal-themes-easy-to-use-as-some...

SSL Error in new drupal site

I'm creating a new drupal8 site, locally, to test some content not created with modules. I installed using acquia desktop dev2, and everything worked properly. I created a menu link that redirects to "myDrupalSite/sites/test/index.php", but it seems like anything beyond the main site's directory is giving the SSL error "This site can’t provide a secure connection". I tried modifying the .htaccess to include the directories and the specific php file, but that isn't working.

Is relation views scalable?

I have a Drupal 8 site using the OpenSocial profile. It's a social profile and users can follow other users. This feature is implemented using the Flags module.

In the site, I created a view for users to see contents of the users they are following and it uses a relationship to user entity, and lists the content of user flagged by the current users.

Screenshot of relation: https://i.stack.imgur.com/Z4Lbp.png

How to have in plain-text email the links not at the bottom of the email?

Hi all,
when Drupal7 sends and email in the "plain text" format and in this email there are some links, Drupal puts all the links at the end of the email after having numbered them.
Is it normal?
Is it possible in a "plain text" email to have the links not at the end of the email?

Thank you very much

claudio

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x