Using Drupal 9,
How do I hide a node field when viewing it?
Let's say I have field
info. I would like to conditionally not display the label or the value.
I assume I use hook_node_view_alter but I'm not familiar with how to manipulate the build render array.