Drupal 8/9 conditionally printing of entity fields in twig

In some applications, we may get a requirement that, if the user selects the field to show it in the front end then only we have to print the field value according to the condition. Look at the below example to full fill this type of requirement



Read Next