This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* From https://www.usps.com/send/official-abbreviations.htm */ | |
| $us_state_abbrevs_names = array( | |
| 'AL'=>'ALABAMA', | |
| 'AK'=>'ALASKA', | |
| 'AS'=>'AMERICAN SAMOA', | |
| 'AZ'=>'ARIZONA', | |
| 'AR'=>'ARKANSAS', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implementation of hook_entity_info_alter(). | |
| * | |
| * Redirect any links to program taxonomy terms to their corresponding node page. | |
| */ | |
| function content_recipe_entity_info_alter(&$entity_info) { | |
| $entity_info['taxonomy_term']['uri callback'] = 'content_recipe_taxonomy_term_uri'; | |
| } | |
| /** |
NewerOlder