fixed mandatory address field on company nodes. + added node_modules to .gitignore

This commit is contained in:
Bachir Soussi Chiadmi 2015-05-05 12:08:23 +02:00
parent ceeefdd109
commit 923b407498
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -15,3 +15,5 @@ _base_d7.tmproj
*.sublime-project
*.sublime-workspace
*.sublime-project*
node_modules

View File

@ -1537,9 +1537,12 @@ function materio_content_types_field_default_field_instances() {
'module' => 'addressfield',
'settings' => array(
'available_countries' => array(),
'default_country' => '',
'default_country' => 'FR',
'format_handlers' => array(
'address' => 'address',
'address-optional' => 'address-optional',
'address-hide-postal-code' => 0,
'address-hide-street' => 0,
'address-hide-country' => 0,
'organisation' => 0,
'name-full' => 0,