Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have used the paragraph module to create 3 paragraph types (Text, Video, Question)
Each of the types contains a field called category type that contains the values (optional, core)
I have created a content type Resource to which i have added a field called Resource Metadata of type Paragraph and which can store unlimited number. In the content page for Resources, I am able to add child Paragraphs based on the three type.
Next, I have created a view Resources based which filters based on the Resource content type.
I'm using Drupal to build a site that will provide an end user the ability to search my database for information but before they do this we will require them to login. After login they can either pay for a membership (yearly) or stay with the free option. Either choice will then limit the amount of results they see when running the search.
My question: Is it better for me to use the internal login system that is built into Drupal (/user) or setup a new login system?
I cannot access the JSON version of a node when logged in, anonymous access no problem. When logged in (including Administrator), the end point returns a 403. Updated to Drupal 8.2.1. The requesting page generated from a Module, same host.
Reading the documentation on the structure of routes, I note that for the "requirements" section, the following is given for "_permission" (and also for "_role"):
You can specify multiple permissions by separating them with ',' (comma) for AND logic or '+' (plus) for OR logic.
This appears inconsistent with the instruction under "_module_dependencies"
You can combine module names with a + (plus) for an AND relationship or , (comma) for an OR relationship.