Localhost accessing REST/JSON API can only see Anonymous Content

Background:

  • Setup: Drupal 8.9.17, with latest windows XAMPP stack PHP 7.4.11, and React.js
  • Project: Building a progressively decoupled site integrating REACT.js for various UI and page functions.

What is the Difference between hook_ENTITY_TYPE_storage_load and hook_ENTITY_TYPE_load?

Documentation says, "...results of hook_ENTITY_TYPE_storage_load will be cached...." However there is no such note for hook_ENTITY_TYPE_load.

What is the significance of cache (in this context). Can this be explained in more details?

I am using this hook to add extra info on nodes (fetched from a couple of non-drupal tables). (based on that extra info, I load required javascript etc etc).

So question is, what hook is appropriate for my work? (Either of the hooks do the work for me .... actually that is why this question comes.)

Thanks

-Mahesh

Views from taxonomy work in preview but path is not working

Hello,

I have two taxonomy vocabulary

  1. Category
  2. Sub Category

Category has few terms. Subcategory has a field called "category" of type "taxonomy" . I have created views  as follwo

Creating View from Two different display from two Taxonomy Vocabulary

Hello,

I have spent two days and can't figure it out how to create view with different displays of different taxonomy vocabulary.

I want create view for category and subcategory.  There is no valid trusted module. People say us Hierarchical Select but it says Use at your own risk!

Actually I am trying to build a Taxonomy vocabulary called "Category" and another one called "Sub Category

Subcategory vocabulary has a field called "category" 

Summary of question

Deployment of Drupal on Windows server 2019

How to deploy Drupal on windows server 2019?

How to add meta description tag for webform page

Hello,

When I go to a basic page node and  view source code, I can see the meta tag description as below. 

<meta name="description" content="xxxxxxxxxx Contact us today!" />

When I go to webform node and then view source code, I do not see the meta  description tag. How can I add the description tag to webform node?

Thank you!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x