function address_theme in Address 8
Implements hook_theme().
File
- ./
address.module, line 13 - Provides functionality for handling postal addresses.
Code
function address_theme() {
return [
'address_plain' => [
'variables' => [
'given_name' => '',
'additional_name' => '',
'family_name' => '',
'organization' => '',
'address_line1' => '',
'address_line2' => '',
'postal_code' => '',
'sorting_code' => '',
'dependent_locality' => [],
'locality' => [],
'administrative_area' => [],
'country' => [],
'address' => NULL,
'view_mode' => '',
],
],
];
}