Drupal 8 Query to get category info

Here is the Drupal 8 Query to get category info
here category name “color_cat”

$vid = ‘color_cat’;
$parent_tid = 0;//parent id
$depth = 2; //depth upto which level you want
$load_entities = FALSE;
$cat_data= \Drupal::entityTypeManager()->getStorage(‘taxonomy_term’)->loadTree($vid,
$parent_tid, $depth, $load_entities);

$variables[‘color_cat’] = $cat_data;

add below code inside your .theme file

in .twig file you have use below twig code to display category name

  {% for key1, value in color_cat %}
                

{{ color_cat[key1]['name'] }} {% endfor %}

I am trying to download a from Google Drive . it says it is creating a zip. After I wait for the process to finish, it says it is done and then disappears, never to be seen again

I am trying to download a from Google Drive . it says it is creating a zip. After I wait for the process to finish, it says it is done and then disappears, never to be seen again


Solution

Click On leave button popup

Step 1

Right click and click on download
drive files unable to download

step 2

Click On leave button popup

drive files unable to download Click On leave button