Social Auth on API only drupal 8 installation

Hi, I want to use drupal 8 as an only-api backend site, with a client frontend living on another server. The API has to be secured with a token.

I want to let users to authenticate on social platforms like Facebook. After client-login on those o-auth2 platforms, I receive a token. I want to allow drupal 8 to create user accounts with that token (this means, user the passed token, validating on target platform and creating an account), and returning a token that is valid to access to the API.

Is this scenario possible? Thanks in advance

[Drupal Commerce 2] Module for pricing product attributes

Good afternoon,

At the moment i'm building a module for drupal commerce 2 that makes it possible to add a price to product attributes themselves in addition to the product price.

Example:::

Attribute Color:
   Red = € 4
   Blue = € 7
   Green = € 10

Attribute Size:
   80 = € 0
   90 = € 10
   100 = € 12

Product T-shirt:
   Base price = € 20
 

So a T-shirt with the attributes Green and 90 selected would be €40. A T-shirt with the attribute Red and 100 selected would be € 36.

How to add a submit button (button that calls a function when clicked) to a #dropbutton from element?

Hello friends,

I have a table that I am adding a drop button to.

I know how to add links to this drop button, but I would now like to call a function within my form class when a specific item in my drop button is clicked.

Any ideas or suggestions as to how I could go about achieving this?

inside buildForm()

Your opinion on setting up a messaging system.

I need to set up an e-mail system on my site that will premeditate a mailing list based on different selection criteria, to attach a file and write a message.
But most importantly, I need to archive the emails sent.
So I thought either to create a specific entity to use the send mails function, or to use an existing module type simplenews, and customize it.
I would like your opinion before starting.

thanks

Views: Content revisions view with revision "Created: YEAR" as contextual filter

Hello guys!

Not sure if I'm missing something, but how can I create a content revisions view with the revision "Created: YEAR" as contextual filter?

So what I have done is just create a view with content revisions as its content. I added some fields and a relationship to the actual content to get the ID of the content (and not the revision) and so on. What I'm trying to do is to use a year parameter from url as a contextual filter (and also some other parameters which already work) to only show the revisions of a certain year. 

how to upgrade drupal core from 8.6.16 to 8.7.1

Hi,

I'm using lighting 8.x-3.208, drupal core 8.6.16.

I want to upgrade drupal core to 8.7.1, how can I do that? Do I need to modify composer.json file?

Below is my composer.json file:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x