protected property AddressDisplayTest::$defaultDisplaySettings in Address Display 8
The default display settings to use for the formatters.
Type: array
File
- tests/
src/ Kernel/ Formatter/ AddressDisplayTest.php, line 63
Class
- AddressDisplayTest
- Tests the address_display_formatter formatter.
Namespace
Drupal\Tests\address_display\Kernel\FormatterCode
protected $defaultDisplaySettings = [
'address_display' => [
'organization' => [
'display' => TRUE,
'glue' => '',
'weight' => -1,
],
'address_line1' => [
'display' => TRUE,
'glue' => '',
'weight' => 0,
],
'address_line2' => [
'display' => TRUE,
'glue' => ',',
'weight' => 1,
],
'locality' => [
'display' => TRUE,
'glue' => ',',
'weight' => 2,
],
'postal_code' => [
'display' => TRUE,
'glue' => '',
'weight' => 3,
],
'country_code' => [
'display' => TRUE,
'glue' => '',
'weight' => 4,
],
'langcode' => [
'display' => FALSE,
'glue' => ',',
'weight' => 100,
],
'administrative_area' => [
'display' => FALSE,
'glue' => ',',
'weight' => 100,
],
'dependent_locality' => [
'display' => FALSE,
'glue' => ',',
'weight' => 100,
],
'sorting_code' => [
'display' => FALSE,
'glue' => ',',
'weight' => 100,
],
'given_name' => [
'display' => TRUE,
'glue' => '',
'weight' => 100,
],
'family_name' => [
'display' => TRUE,
'glue' => ',',
'weight' => 100,
],
],
];