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 created a custom module for Drupal 8 and Drupal Commerce. It is used to display a link "Accept the conditions of sale" in the purchase funnel during an order.
This link displays a modal window with the rendering of a page.
I have created a "terms and conditions" display mode in my store types. I want the link to show the store's rendered "terms and conditions" entity in a modal window.
So I want to make the entity store instead of showing a page in the modal link.
I want to embed a form into a content type where the field values in the form (attached to the respective nodes will be) will be:
1) compared to the values in the nodes of a separate content type.
2) used in Views to generate specific views pages.
Based on these two bulle points I am wary of using paragraph as my search indicates paragraph fields are either not accessible in Views or difficult to access. The other option I see is use Webforms but I'm how the data is stored and how accessible the webform fields values are to the Views module.
I want an entity where I can store various bits of data (using fields) and link that data to multiple page nodes. But that data should not be visible to anyone - it is more for adding and displaying data programmatically or via Views. What's the best way to go about this?
social_auth_google and social_auth_facebook modules offer advanced setting "API calls to be made to collect data". How can the results of such API calls be captured? For example, if I request the user's gender, how can I capture the result into a "gender" field?