Custom token/access key checking in Drupal 8

Hi,

I would like to create a centralized user access check (token authentication for iOS / android devices) for all the APIs and return the response as JSON, if the user failed in access check. I tried _custom_access method in routing.yml and created a function in a controller to check the user permission and returned the response as "AccessResult::allowedIf(false)", when the user fails in access check. But, the "AccessResult::allowedIf(false)" returns the HTML page instead of JSON response.

E Commerce

Hi Guys,

I am currently working on the products page for my site.

What I have currently is a 3 column grid view of a content type "product" however I am wondering if anyone can shed some light or provide some advice/ direction on this.

Importing users from CSV

Is there a way to import a list of users using CSV or a spreadsheet in Drupal 8? I know I could do it in Drupal 7 pretty easily. Everything I search for only offers migration from 7 to 8. This is a new site, getting a list of users from a spreadsheet, so that's no help. I could write some PHP but it seems like a simple import should be easier than that.

Drupal 8 REST Create node with image field.

Hello,

Running Drupal 8.1.2 and have followed the drupal.org REST tutorial for Drupal 8. I can now read and create new basic page and custom node records via REST calls.

Would someone please post a working example that demonstrates how to POST a new node record that populates an image field?

Amazon S3 For Drupal8

Hi,

Is there any Amazon S3 module (stable release) available for Drupal 8? As far as I can see all the current versions are not stable and not usable for the production development. Please advice.

Thanks

Service unavailable

A message telling me that the server is temporarily unable to service your request due to maintenance downtime or capacity problems, what needs to be done to resolve this , please!!!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x