Create a Custom Entity/Node Title in Drupal 7 Submitted by administrator on Wed, 11/22/2017 - 22:13 <?php$brand = '[node:field_med_brand_name]';$medical = '[node:field_med_medical_name]';$both = '[node:field_med_brand_name] ([node:field_med_medical_name])';if(empty($medical)) { return "$brand";} else { return "$both";} ?> Tags: drupallabeltitlephp Read more about Create a Custom Entity/Node Title in Drupal 7Log in to post comments