Change value to negative based on boolean value

Not sure of the easiest way to do this, but I am trying to change the value of an integer field to be positive or negative as a result of a boolean field benig checked. Any help appreciated.

Format files related to node

I used Drupal a lot in my old days but I've been like 10 years without using it and using it again now. So I know quite a lot of how it works but it is certainly rusty.

What I want to do is to show the files that are related to a node of a specific content type in the format I want, that is all the files related to the node in a table at the bottom and with description and upload date. These files are in a unlimited file field.

Updating to 8.9.8 from 8.9 now have error whenever saving from search_api

Hello! Sorry this is my first post but this issue has me stumped. Whenever I save new content or configuration, this error is thrown and I don't understand why. This has only been occurring since I updated:

How we can we add additional tag like p in Heading field module

I am using heading field module. 

which provide h1-h6 option in a field. Now my requirements is due to SEO point of view i cant use headings so instead of that i wana use Paragraph tags so how we can add additional option so Paragraph option start appears https://prnt.sc/vjxnva BUT i want to make some thing like https://prnt.sc/vjxom7

Please guide me hook so i can alter this field or any other solution

[SOLVED] Form dependency injection difference in Drupal Console

When creating a custom form, I learned that adding a service to a form via dependency injection should be done like the below using the constructor....

Link: prefill base url so users add correct url

Hi! I would like to add links that have prefilled base url’s, for example:

www.twitter.com/
www.youtube.com/
www.instagram.com/

and then the field next to it is where the user can add the username.

The result to be for example:

www.twitter.com/username

This is so users do not add incorrect url’s and need their usernames in a view.

Most appreciate any suggestions on how to do this 🌷

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x