I have a content type which contains field_state. The nodes of this content type store the two letter abbreviation for the state in each node using field_state. OH is Ohio, CA is California and so forth. I need to render this field with the full spelling of the state name. I have a PHP Array that contains all of the 50 mappings that I need like -- $state['CA'] = 'California'; This data structure is wrapped in a PHP function state_full_name($abbreviation).
I created a View which creates a block of everything I need -- except the full spelling of the state name. I know how to apply a PHP functions to a specific Views field in both D6 and D7. The solution in D8 has been elusive for me. I believe I need to use a Views plugin in some fashion. Can you help? Thanks!