created adress & geofield in CT projet
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
],
|
||||
"require": {
|
||||
"composer/installers": "^1.9",
|
||||
"drupal/address": "^1.10",
|
||||
"drupal/administerusersbyrole": "^3.0",
|
||||
"drupal/config_pages": "2.x-dev@dev",
|
||||
"drupal/core-composer-scaffold": "^9.2",
|
||||
@@ -23,6 +24,8 @@
|
||||
"drupal/core-recommended": "^9.2",
|
||||
"drupal/entity_type_clone": "^1.7",
|
||||
"drupal/formatter_suite": "^1.3",
|
||||
"drupal/geocoder": "^3.25",
|
||||
"drupal/geofield": "^1.36",
|
||||
"drupal/image_delta_formatter": "^1.1",
|
||||
"drupal/image_field_caption": "^1.1",
|
||||
"drupal/linked_field": "^1.3",
|
||||
@@ -33,6 +36,7 @@
|
||||
"drupal/role_delegation": "^1.1",
|
||||
"drupal/structure_sync": "^2.0",
|
||||
"drupal/webform": "^6.1",
|
||||
"geocoder-php/mapquest-provider": "^4.2",
|
||||
"wikimedia/composer-merge-plugin": "^2.0"
|
||||
},
|
||||
"conflict": {
|
||||
|
||||
Generated
+975
-1
File diff suppressed because it is too large
Load Diff
@@ -4,8 +4,10 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.projet.body
|
||||
- field.field.node.projet.field_adresse
|
||||
- field.field.node.projet.field_encours_fini
|
||||
- field.field.node.projet.field_fichiers
|
||||
- field.field.node.projet.field_geofield
|
||||
- field.field.node.projet.field_incube
|
||||
- field.field.node.projet.field_liens
|
||||
- field.field.node.projet.field_neuf_rehabilitation
|
||||
@@ -16,8 +18,10 @@ dependencies:
|
||||
- image.style.thumbnail
|
||||
- node.type.projet
|
||||
module:
|
||||
- address
|
||||
- field_group
|
||||
- file
|
||||
- geofield
|
||||
- image
|
||||
- link
|
||||
- paragraphs
|
||||
@@ -28,6 +32,7 @@ third_party_settings:
|
||||
- group_principal
|
||||
- group_liens
|
||||
- group_media
|
||||
- group_carte
|
||||
label: Tabs
|
||||
region: content
|
||||
parent_name: ''
|
||||
@@ -108,11 +113,33 @@ third_party_settings:
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
group_carte:
|
||||
children:
|
||||
- field_adresse
|
||||
- field_geofield
|
||||
label: Carte
|
||||
region: content
|
||||
parent_name: group_tabs
|
||||
weight: 19
|
||||
format_type: tab
|
||||
format_settings:
|
||||
classes: ''
|
||||
show_empty_fields: false
|
||||
id: ''
|
||||
formatter: closed
|
||||
description: ''
|
||||
required_fields: true
|
||||
id: node.projet.default
|
||||
targetEntityType: node
|
||||
bundle: projet
|
||||
mode: default
|
||||
content:
|
||||
field_adresse:
|
||||
type: address_default
|
||||
weight: 28
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_encours_fini:
|
||||
type: options_select
|
||||
weight: 3
|
||||
@@ -126,6 +153,13 @@ content:
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
field_geofield:
|
||||
type: geofield_latlon
|
||||
weight: 29
|
||||
region: content
|
||||
settings:
|
||||
html5_geolocation: false
|
||||
third_party_settings: { }
|
||||
field_incube:
|
||||
type: boolean_checkbox
|
||||
weight: 1
|
||||
@@ -135,7 +169,7 @@ content:
|
||||
third_party_settings: { }
|
||||
field_liens:
|
||||
type: link_default
|
||||
weight: 5
|
||||
weight: 6
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
|
||||
@@ -4,8 +4,10 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.field.node.projet.body
|
||||
- field.field.node.projet.field_adresse
|
||||
- field.field.node.projet.field_encours_fini
|
||||
- field.field.node.projet.field_fichiers
|
||||
- field.field.node.projet.field_geofield
|
||||
- field.field.node.projet.field_incube
|
||||
- field.field.node.projet.field_liens
|
||||
- field.field.node.projet.field_neuf_rehabilitation
|
||||
@@ -15,8 +17,10 @@ dependencies:
|
||||
- field.field.node.projet.field_textes
|
||||
- node.type.projet
|
||||
module:
|
||||
- address
|
||||
- entity_reference_revisions
|
||||
- file
|
||||
- geofield
|
||||
- image
|
||||
- link
|
||||
- manage_display
|
||||
@@ -34,6 +38,13 @@ content:
|
||||
third_party_settings: { }
|
||||
weight: 101
|
||||
region: content
|
||||
field_adresse:
|
||||
type: address_default
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 111
|
||||
region: content
|
||||
field_encours_fini:
|
||||
type: list_default
|
||||
label: above
|
||||
@@ -49,6 +60,15 @@ content:
|
||||
third_party_settings: { }
|
||||
weight: 107
|
||||
region: content
|
||||
field_geofield:
|
||||
type: geofield_default
|
||||
label: above
|
||||
settings:
|
||||
output_format: wkt
|
||||
output_escape: true
|
||||
third_party_settings: { }
|
||||
weight: 112
|
||||
region: content
|
||||
field_incube:
|
||||
type: boolean
|
||||
label: above
|
||||
|
||||
@@ -5,8 +5,10 @@ dependencies:
|
||||
config:
|
||||
- core.entity_view_mode.node.teaser
|
||||
- field.field.node.projet.body
|
||||
- field.field.node.projet.field_adresse
|
||||
- field.field.node.projet.field_encours_fini
|
||||
- field.field.node.projet.field_fichiers
|
||||
- field.field.node.projet.field_geofield
|
||||
- field.field.node.projet.field_incube
|
||||
- field.field.node.projet.field_liens
|
||||
- field.field.node.projet.field_neuf_rehabilitation
|
||||
@@ -55,8 +57,10 @@ content:
|
||||
hidden:
|
||||
body: true
|
||||
created: true
|
||||
field_adresse: true
|
||||
field_encours_fini: true
|
||||
field_fichiers: true
|
||||
field_geofield: true
|
||||
field_liens: true
|
||||
field_neuf_rehabilitation: true
|
||||
field_partenaires: true
|
||||
|
||||
@@ -3,6 +3,7 @@ _core:
|
||||
langcode: fr
|
||||
module:
|
||||
actions_permissions: 0
|
||||
address: 0
|
||||
admin_toolbar: 0
|
||||
admin_toolbar_links_access_filter: 0
|
||||
administerusersbyrole: 0
|
||||
@@ -55,6 +56,11 @@ module:
|
||||
filter: 0
|
||||
filter_perms: 0
|
||||
formatter_suite: 0
|
||||
geocoder: 0
|
||||
geocoder_address: 0
|
||||
geocoder_field: 0
|
||||
geocoder_geofield: 0
|
||||
geofield: 0
|
||||
help: 0
|
||||
honeypot: 0
|
||||
image: 0
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
uuid: 0d64a639-2638-4bc8-8261-3d71a0d5c2c8
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_adresse
|
||||
- node.type.projet
|
||||
module:
|
||||
- address
|
||||
id: node.projet.field_adresse
|
||||
field_name: field_adresse
|
||||
entity_type: node
|
||||
bundle: projet
|
||||
label: Adresse
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value:
|
||||
-
|
||||
langcode: null
|
||||
country_code: FR
|
||||
administrative_area: null
|
||||
locality: ''
|
||||
dependent_locality: null
|
||||
postal_code: null
|
||||
sorting_code: null
|
||||
address_line1: null
|
||||
address_line2: null
|
||||
organization: null
|
||||
given_name: null
|
||||
additional_name: null
|
||||
family_name: null
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
available_countries: { }
|
||||
langcode_override: ''
|
||||
field_overrides:
|
||||
givenName:
|
||||
override: hidden
|
||||
additionalName:
|
||||
override: hidden
|
||||
familyName:
|
||||
override: hidden
|
||||
organization:
|
||||
override: hidden
|
||||
addressLine1:
|
||||
override: hidden
|
||||
addressLine2:
|
||||
override: hidden
|
||||
postalCode:
|
||||
override: hidden
|
||||
sortingCode:
|
||||
override: hidden
|
||||
dependentLocality:
|
||||
override: hidden
|
||||
locality:
|
||||
override: optional
|
||||
administrativeArea:
|
||||
override: hidden
|
||||
fields: { }
|
||||
field_type: address
|
||||
@@ -0,0 +1,38 @@
|
||||
uuid: 8438e670-29f9-4cf7-8a49-66b0d63ef5f4
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.node.field_geofield
|
||||
- node.type.projet
|
||||
module:
|
||||
- geocoder_field
|
||||
- geofield
|
||||
third_party_settings:
|
||||
geocoder_field:
|
||||
method: geocode
|
||||
weight: 0
|
||||
field: field_adresse
|
||||
skip_not_empty_value: false
|
||||
disabled: true
|
||||
hidden: false
|
||||
providers:
|
||||
- mapquest
|
||||
dumper: wkt
|
||||
delta_handling: default
|
||||
failure:
|
||||
handling: preserve
|
||||
status_message: true
|
||||
log: true
|
||||
id: node.projet.field_geofield
|
||||
field_name: field_geofield
|
||||
entity_type: node
|
||||
bundle: projet
|
||||
label: geofield
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: geofield
|
||||
@@ -0,0 +1,19 @@
|
||||
uuid: 67d8d124-62a3-40da-86cc-c87765ad9716
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- address
|
||||
- node
|
||||
id: node.field_adresse
|
||||
field_name: field_adresse
|
||||
entity_type: node
|
||||
type: address
|
||||
settings: { }
|
||||
module: address
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,20 @@
|
||||
uuid: ee49589c-d1cc-4d41-9fe4-49578a94d009
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- geofield
|
||||
- node
|
||||
id: node.field_geofield
|
||||
field_name: field_geofield
|
||||
entity_type: node
|
||||
type: geofield
|
||||
settings:
|
||||
backend: geofield_backend_default
|
||||
module: geofield
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
||||
@@ -0,0 +1,13 @@
|
||||
uuid: 98ae0755-fbef-43d3-af7b-9e3fe0250362
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: mapquest
|
||||
label: MapQuest
|
||||
plugin: mapquest
|
||||
configuration:
|
||||
throttle:
|
||||
period: null
|
||||
limit: null
|
||||
apiKey: BfGpTmi8PmaGkWNCAwlH6qW5jILApFGb
|
||||
licensed: false
|
||||
@@ -0,0 +1,5 @@
|
||||
_core:
|
||||
default_config_hash: 5P0QjCOMc-OzCEJUXsMfJWVEj_K97A4OFOhGqnb5Seg
|
||||
langcode: fr
|
||||
geocoder_presave_disabled: false
|
||||
cache: true
|
||||
@@ -10,7 +10,7 @@ third_party_settings:
|
||||
parent: ''
|
||||
_core:
|
||||
default_config_hash: Gbpk2gnakDOKmsOEikWuVfLDOZ8rtrlW-UoZFjqWCF0
|
||||
name: Static
|
||||
name: Statique
|
||||
type: static
|
||||
description: 'Static Page'
|
||||
help: ''
|
||||
|
||||
@@ -11,10 +11,11 @@ parameters:
|
||||
# @default 100
|
||||
gc_divisor: 100
|
||||
#
|
||||
# Set session lifetime (in seconds), i.e. the time from the user's last
|
||||
# visit to the active session may be deleted by the session garbage
|
||||
# collector. When a session is deleted, authenticated users are logged out,
|
||||
# and the contents of the user's $_SESSION variable is discarded.
|
||||
# Set session lifetime (in seconds), i.e. the grace period for session
|
||||
# data. Sessions are deleted by the session garbage collector after one
|
||||
# session lifetime has elapsed since the user's last visit. When a session
|
||||
# is deleted, authenticated users are logged out, and the contents of the
|
||||
# user's session is discarded.
|
||||
# @default 200000
|
||||
gc_maxlifetime: 200000
|
||||
#
|
||||
|
||||
@@ -138,50 +138,17 @@ $databases = [];
|
||||
* request as needed. The fourth line creates a new database with a name of
|
||||
* "extra".
|
||||
*
|
||||
* You can optionally set prefixes for some or all database table names
|
||||
* by using the 'prefix' setting. If a prefix is specified, the table
|
||||
* name will be prepended with its value. Be sure to use valid database
|
||||
* characters only, usually alphanumeric and underscore. If no prefixes
|
||||
* are desired, leave it as an empty string ''.
|
||||
* You can optionally set a prefix for all database table names by using the
|
||||
* 'prefix' setting. If a prefix is specified, the table name will be prepended
|
||||
* with its value. Be sure to use valid database characters only, usually
|
||||
* alphanumeric and underscore. If no prefix is desired, do not set the 'prefix'
|
||||
* key or set its value to an empty string ''.
|
||||
*
|
||||
* To have all database names prefixed, set 'prefix' as a string:
|
||||
* For example, to have all database table prefixed with 'main_', set:
|
||||
* @code
|
||||
* 'prefix' => 'main_',
|
||||
* @endcode
|
||||
*
|
||||
* Per-table prefixes are deprecated as of Drupal 8.2, and will be removed in
|
||||
* Drupal 9.0. After that, only a single prefix for all tables will be
|
||||
* supported.
|
||||
*
|
||||
* To provide prefixes for specific tables, set 'prefix' as an array.
|
||||
* The array's keys are the table names and the values are the prefixes.
|
||||
* The 'default' element is mandatory and holds the prefix for any tables
|
||||
* not specified elsewhere in the array. Example:
|
||||
* @code
|
||||
* 'prefix' => [
|
||||
* 'default' => 'main_',
|
||||
* 'users' => 'shared_',
|
||||
* 'sessions' => 'shared_',
|
||||
* 'role' => 'shared_',
|
||||
* 'authmap' => 'shared_',
|
||||
* ],
|
||||
* @endcode
|
||||
* You can also use a reference to a schema/database as a prefix. This may be
|
||||
* useful if your Drupal installation exists in a schema that is not the default
|
||||
* or you want to access several databases from the same code base at the same
|
||||
* time.
|
||||
* Example:
|
||||
* @code
|
||||
* 'prefix' => [
|
||||
* 'default' => 'main.',
|
||||
* 'users' => 'shared.',
|
||||
* 'sessions' => 'shared.',
|
||||
* 'role' => 'shared.',
|
||||
* 'authmap' => 'shared.',
|
||||
* ];
|
||||
* @endcode
|
||||
* NOTE: MySQL and SQLite's definition of a schema is a database.
|
||||
*
|
||||
* Advanced users can add or override initial commands to execute when
|
||||
* connecting to the database server, as well as PDO connection settings. For
|
||||
* example, to enable MySQL SELECT queries to exceed the max_join_size system
|
||||
|
||||
Reference in New Issue
Block a user