migration breve, migration materiau:linked_breve; module pagerer, cshs, views_ef_fieldset

This commit is contained in:
Bachir Soussi Chiadmi 2018-12-12 17:29:13 +01:00
parent 596578af5b
commit f825d6ff18
62 changed files with 2384 additions and 169 deletions

View File

@ -16,7 +16,9 @@
"drupal/telephone_formatter": "^1.0@beta",
"drupal/video_embed_field": "^2.0",
"drupal/computed_field": "^2.0@alpha",
"drupal/cshs": "1.x-dev"
"drupal/cshs": "1.x-dev",
"drupal/views_ef_fieldset": "1.x-dev",
"drupal/pagerer": "^1.4"
},
"replace": {
"drupal/core": "^8.6"

96
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "a300e7df3ed622ceed984b184f01439a",
"content-hash": "1c2031518d90d8efedbecea6a76848c4",
"packages": [
{
"name": "alchemy/zippy",
@ -5382,6 +5382,53 @@
"irc": "irc://irc.freenode.org/drupal-migrate"
}
},
{
"name": "drupal/pagerer",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://git.drupal.org/project/pagerer",
"reference": "8.x-1.4"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/pagerer-8.x-1.4.zip",
"reference": "8.x-1.4",
"shasum": "9b4eb6899b0927859e7d5198f1fd814a10a66ddb"
},
"require": {
"drupal/core": "^8.1"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.4",
"datestamp": "1522851484",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "mondrake",
"homepage": "https://www.drupal.org/user/1307444"
}
],
"description": "Configurable pager styles.",
"homepage": "https://www.drupal.org/project/pagerer",
"support": {
"source": "http://cgit.drupalcode.org/pagerer"
}
},
{
"name": "drupal/path_alias_xt",
"version": "dev-1.x",
@ -6642,6 +6689,52 @@
"docs": "https://www.drupal.org/docs/8/modules/views-bulk-operations-vbo"
}
},
{
"name": "drupal/views_ef_fieldset",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupal.org/project/views_ef_fieldset",
"reference": "f53f9e3390f1491ace93662634477bc43f844759"
},
"require": {
"drupal/core": "*"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.1+4-dev",
"datestamp": "1538990580",
"security-coverage": {
"status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories."
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Pol",
"homepage": "https://www.drupal.org/user/47194"
},
{
"name": "ciss",
"homepage": "https://www.drupal.org/user/1632364"
}
],
"description": "Provide an option to render the \"exposed form widgets\" in a fieldset.",
"homepage": "https://www.drupal.org/project/views_ef_fieldset",
"support": {
"source": "http://cgit.drupalcode.org/views_ef_fieldset"
},
"time": "2018-11-16T09:23:47+00:00"
},
{
"name": "drupal/workflow",
"version": "dev-1.x",
@ -12289,6 +12382,7 @@
"drupal/telephone_formatter": 10,
"drupal/computed_field": 15,
"drupal/cshs": 20,
"drupal/views_ef_fieldset": 20,
"drupal/advanced_text_formatter": 10,
"drupal/autocomplete_deluxe": 10,
"drupal/better_exposed_filters": 15,

View File

@ -0,0 +1,85 @@
id: d7_node_breve
label: Node Breve
migration_group: d7_materio
audit: true
migration_tags:
- Drupal 7
- Content
- Materio
deriver: Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver
source:
plugin: d7_node_breve
node_type: breve
destination:
plugin: entity:node
process:
# nid: nid
type:
plugin: default_value
default_value: breve
title: title
field_migration:
plugin: default_value
default_value: 'migration_imported'
body:
plugin: iterator
source: field_description
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
langcode: language
field_memo: field_memo
field_workflow:
-
plugin: default_value
source: workflow
default_value: 2
-
plugin: static_map
default_value: 2
map:
1: "workflow_creation"
2: "workflow_hidden"
3: "workflow_visible"
4: "workflow_imported"
5: "workflow_edited"
field_thesaurus:
plugin: migration_lookup
migration: d7_taxonomy_term_thesaurus
source: field_onthologie
field_tags:
plugin: migration_lookup
migration: d7_taxonomy_term_tags
source: field_tags_libres
field_video:
plugin: iterator
source: field_video_filter
process:
value: url
field_linked_materials:
-
plugin: skip_on_empty
method: process
source: linked_materials
-
plugin: migration_lookup
migration: d7_node_materiau
no_stub: true
# field_visuel: field_visuel
migration_dependencies:
required:
- d7_taxonomy_term_thesaurus
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_materiau

View File

@ -37,8 +37,13 @@ process:
langcode: language
field_memo: field_memo
field_workflow:
plugin: static_map
-
plugin: default_value
source: workflow
default_value: 2
-
plugin: static_map
default_value: 2
map:
1: "workflow_creation"
2: "workflow_hidden"
@ -67,14 +72,32 @@ process:
source: field_video_filter
process:
value: url
field_linked_materials:
-
plugin: skip_on_empty
method: process
source: linked_materials
-
plugin: migration_lookup
migration: d7_node_materiau
no_stub: true
field_linked_breves:
-
plugin: skip_on_empty
method: process
source: linked_breves
-
plugin: migration_lookup
migration: d7_node_breve
no_stub: true
# field_materiau_images: field_materiau_image
# field_attachments: field_attachments
# field_linked_materials: field_materiau_ref
# field_linked_breves: field_breve_ref
# field_famille: field_famille
# field_index: field_identifiant
# field_reference: field_reference_materio
# just archives
# : field_localisation
# TODO: need to find an alternative or rebuild the custom module
@ -86,3 +109,5 @@ migration_dependencies:
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_breve

View File

@ -0,0 +1,229 @@
<?php
namespace Drupal\materio_migrate\Plugin\migrate\source;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
use Drupal\Core\Database\Query\SelectInterface;
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Extension\ModuleHandler;
use Drupal\Core\State\StateInterface;
use Drupal\migrate\Plugin\MigrationInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Drupal 7 node source from database.
*
* @MigrateSource(
* id = "d7_node_breve",
* source_module = "node"
* )
*/
class D7NodeBreve extends FieldableEntity {
/**
* The module handler.
*
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
/**
* {@inheritdoc}
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityManagerInterface $entity_manager, ModuleHandlerInterface $module_handler) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state, $entity_manager);
$this->moduleHandler = $module_handler;
}
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration = NULL) {
return new static(
$configuration,
$plugin_id,
$plugin_definition,
$migration,
$container->get('state'),
$container->get('entity.manager'),
$container->get('module_handler')
);
}
/**
* The join options between the node and the node_revisions table.
*/
const JOIN = 'n.vid = nr.vid';
/**
* {@inheritdoc}
*/
public function query() {
// Select node in its last revision.
$query = $this->select('node_revision', 'nr')
->fields('n', [
'nid',
'type',
'language',
'status',
'created',
'changed',
'comment',
'promote',
'sticky',
'tnid',
'translate',
])
->fields('nr', [
'vid',
'title',
'log',
'timestamp',
])
->orderBy('nid');
$query->addField('n', 'uid', 'node_uid');
$query->addField('nr', 'uid', 'revision_uid');
$query->innerJoin('node', 'n', static::JOIN);
// If the content_translation module is enabled, get the source langcode
// to fill the content_translation_source field.
if ($this->moduleHandler->moduleExists('content_translation')) {
$query->leftJoin('node', 'nt', 'n.tnid = nt.nid');
$query->addField('nt', 'language', 'source_langcode');
}
$this->handleTranslations($query);
if (isset($this->configuration['node_type'])) {
$query->condition('n.type', $this->configuration['node_type']);
}
return $query;
}
/**
* {@inheritdoc}
*/
public function prepareRow(Row $row) {
$nid = $row->getSourceProperty('nid');
$vid = $row->getSourceProperty('vid');
$type = $row->getSourceProperty('type');
$title = $row->getSourceProperty('title');
drush_print('-- '.$nid."\t".$title);
// If this entity was translated using Entity Translation, we need to get
// its source language to get the field values in the right language.
// The translations will be migrated by the d7_node_entity_translation
// migration.
$entity_translatable = $this->isEntityTranslatable('node') && (int) $this->variableGet('language_content_type_' . $type, 0) === 4;
$language = $entity_translatable ? $this->getEntityTranslationSourceLanguage('node', $nid) : $row->getSourceProperty('language');
// Get Field API field values.
foreach ($this->getFields('node', $type) as $field_name => $field) {
// Ensure we're using the right language if the entity and the field are
// translatable.
$field_language = $entity_translatable && $field['translatable'] ? $language : NULL;
$row->setSourceProperty($field_name, $this->getFieldValues('node', $field_name, $nid, $vid, $field_language));
}
// linked materials
$linked_materials = [];
if(!empty($row->getSourceProperty('field_materiau_ref'))){
// print_r($row->getSourceProperty('field_materiau_ref'));
foreach ($row->getSourceProperty('field_materiau_ref') as $key => $value) {
$linked_materials[] = $value['target_id'];
}
// print_r($linked_materials);
}
$row->setSourceProperty('linked_materials', $linked_materials);
// Make sure we always have a translation set.
if ($row->getSourceProperty('tnid') == 0) {
$row->setSourceProperty('tnid', $row->getSourceProperty('nid'));
}
// If the node title was replaced by a real field using the Drupal 7 Title
// module, use the field value instead of the node title.
if ($this->moduleExists('title')) {
$title_field = $row->getSourceProperty('title_field');
if (isset($title_field[0]['value'])) {
$row->setSourceProperty('title', $title_field[0]['value']);
}
}
// workflow
$query = $this->select('workflow_node', 'wn');
$query->fields('wn', ['sid']);
$query->condition('wn.nid', $nid);
$results = $query->execute()->fetchField();
if(!$results){
$results = 2;
// add bad workflow to memo field
$memo .= "#migration : invalid workflow\n";
drush_print('WARNING: no workflow');
}
$row->setSourceProperty('workflow', $results);
// record migration errors in field_memo
if(isset($memo)){
$field_memo = $row->getSourceProperty('field_memo');
$field_memo[0]['value'] .= "\n".$memo;
$row->setSourceProperty('field_memo', $field_memo);
}
return parent::prepareRow($row);
}
/**
* {@inheritdoc}
*/
public function fields() {
$fields = [
'nid' => $this->t('Node ID'),
'type' => $this->t('Type'),
'title' => $this->t('Title'),
'node_uid' => $this->t('Node authored by (uid)'),
'revision_uid' => $this->t('Revision authored by (uid)'),
'created' => $this->t('Created timestamp'),
'changed' => $this->t('Modified timestamp'),
'status' => $this->t('Published'),
'promote' => $this->t('Promoted to front page'),
'sticky' => $this->t('Sticky at top of lists'),
'revision' => $this->t('Create new revision'),
'language' => $this->t('Language (fr, en, ...)'),
'tnid' => $this->t('The translation set id for this node'),
'timestamp' => $this->t('The timestamp the latest revision of this node was created.'),
];
return $fields;
}
/**
* {@inheritdoc}
*/
public function getIds() {
$ids['nid']['type'] = 'integer';
$ids['nid']['alias'] = 'n';
return $ids;
}
/**
* Adapt our query for translations.
*
* @param \Drupal\Core\Database\Query\SelectInterface $query
* The generated query.
*/
protected function handleTranslations(SelectInterface $query) {
// Check whether or not we want translations.
if (empty($this->configuration['translations'])) {
// No translations: Yield untranslated nodes, or default translations.
$query->where('n.tnid = 0 OR n.tnid = n.nid');
}
else {
// Translations: Yield only non-default translations.
$query->where('n.tnid <> 0 AND n.tnid <> n.nid');
}
}
}

View File

@ -126,9 +126,27 @@ class D7NodeMateriau extends FieldableEntity {
$field_language = $entity_translatable && $field['translatable'] ? $language : NULL;
$row->setSourceProperty($field_name, $this->getFieldValues('node', $field_name, $nid, $vid, $field_language));
}
if(!empty($row->getSourceProperty('field_video_filter'))){
print_r($row->getSourceProperty('field_video_filter'));
// linked materials
$linked_materials = [];
if(!empty($row->getSourceProperty('field_materiau_ref'))){
// print_r($row->getSourceProperty('field_materiau_ref'));
foreach ($row->getSourceProperty('field_materiau_ref') as $key => $value) {
$linked_materials[] = $value['target_id'];
}
// print_r($linked_materials);
}
$row->setSourceProperty('linked_materials', $linked_materials);
//linked breves
$linked_breves = [];
if(!empty($row->getSourceProperty('field_breve_ref'))){
foreach ($row->getSourceProperty('field_breve_ref') as $key => $value) {
$linked_breves[] = $value['target_id'];
}
}
$row->setSourceProperty('linked_breves', $linked_breves);
// Make sure we always have a translation set.
if ($row->getSourceProperty('tnid') == 0) {

View File

@ -4,10 +4,103 @@ status: true
dependencies:
config:
- field.field.node.breve.body
- field.field.node.breve.field_linked_materials
- field.field.node.breve.field_memo
- field.field.node.breve.field_migration
- field.field.node.breve.field_showroom
- field.field.node.breve.field_source
- field.field.node.breve.field_tags
- field.field.node.breve.field_thesaurus
- field.field.node.breve.field_video
- field.field.node.breve.field_visuel
- field.field.node.breve.field_workflow
- image.style.thumbnail
- node.type.breve
module:
- path
- field_group
- image
- link
- text
- video_embed_field
- workflow
third_party_settings:
field_group:
group_htabs:
children:
- group_contents
- group_media
- group_taxonomy
- group_internal
parent_name: ''
weight: 0
format_type: tabs
format_settings:
id: ''
classes: ''
direction: horizontal
label: htabs
group_contents:
children:
- title
- field_source
- body
- field_linked_materials
parent_name: group_htabs
weight: 10
format_type: tab
format_settings:
id: ''
classes: ''
formatter: open
description: ''
required_fields: true
label: Contents
group_media:
children:
- field_visuel
- field_video
parent_name: group_htabs
weight: 11
format_type: tab
format_settings:
id: ''
classes: ''
formatter: open
description: ''
required_fields: true
label: media
group_taxonomy:
children:
- field_thesaurus
- field_tags
- field_showroom
parent_name: group_htabs
weight: 12
format_type: tab
format_settings:
id: ''
classes: ''
formatter: open
description: ''
required_fields: true
label: Taxonomy
group_internal:
children:
- langcode
- translation
- field_workflow
- field_migration
- field_memo
parent_name: group_htabs
weight: 13
format_type: tab
format_settings:
id: ''
classes: ''
formatter: open
description: ''
required_fields: true
label: Internal
id: node.breve.default
targetEntityType: node
bundle: breve
@ -15,19 +108,91 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 121
weight: 3
settings:
rows: 9
summary_rows: 3
placeholder: ''
third_party_settings: { }
region: content
created:
type: datetime_timestamp
weight: 10
field_linked_materials:
weight: 4
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_memo:
weight: 6
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: string_textarea
region: content
field_migration:
weight: 5
settings: { }
third_party_settings: { }
type: workflow_default
region: content
field_showroom:
weight: 21
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_source:
weight: 2
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
type: link_default
region: content
field_tags:
weight: 20
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_thesaurus:
weight: 19
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_video:
weight: 18
settings: { }
third_party_settings: { }
type: video_embed_field_textfield
region: content
field_visuel:
weight: 17
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
type: image_image
region: content
field_workflow:
weight: 4
settings: { }
third_party_settings: { }
type: workflow_default
region: content
langcode:
type: language_select
weight: 2
@ -35,53 +200,24 @@ content:
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
settings:
display_label: true
weight: 15
region: content
third_party_settings: { }
status:
type: boolean_checkbox
settings:
display_label: true
weight: 120
region: content
third_party_settings: { }
sticky:
type: boolean_checkbox
settings:
display_label: true
weight: 16
region: content
third_party_settings: { }
title:
type: string_textfield
weight: -5
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
settings:
match_operator: CONTAINS
size: 60
placeholder: ''
translation:
weight: 3
region: content
third_party_settings: { }
url_redirects:
weight: 50
settings: { }
third_party_settings: { }
region: content
hidden: { }
hidden:
created: true
path: true
promote: true
status: true
sticky: true
uid: true
url_redirects: true

View File

@ -4,10 +4,24 @@ status: true
dependencies:
config:
- field.field.node.breve.body
- field.field.node.breve.field_linked_materials
- field.field.node.breve.field_memo
- field.field.node.breve.field_migration
- field.field.node.breve.field_showroom
- field.field.node.breve.field_source
- field.field.node.breve.field_tags
- field.field.node.breve.field_thesaurus
- field.field.node.breve.field_video
- field.field.node.breve.field_visuel
- field.field.node.breve.field_workflow
- node.type.breve
module:
- image
- link
- options
- text
- user
- video_embed_field
id: node.breve.default
targetEntityType: node
bundle: breve
@ -20,6 +34,91 @@ content:
settings: { }
third_party_settings: { }
region: content
field_linked_materials:
weight: 107
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_memo:
weight: 108
label: above
settings: { }
third_party_settings: { }
type: basic_string
region: content
field_migration:
weight: 109
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
field_showroom:
weight: 111
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_source:
weight: 102
label: above
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
type: link
region: content
field_tags:
weight: 106
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_thesaurus:
weight: 105
label: above
settings:
link: true
third_party_settings: { }
type: entity_reference_label
region: content
field_video:
weight: 104
label: above
settings:
responsive: true
width: 854
height: 480
autoplay: true
third_party_settings: { }
type: video_embed_field_video
region: content
field_visuel:
weight: 103
label: above
settings:
image_style: ''
image_link: ''
third_party_settings: { }
type: image
region: content
field_workflow:
weight: 110
label: above
settings: { }
third_party_settings: { }
type: list_default
region: content
links:
weight: 100
settings: { }

View File

@ -78,6 +78,7 @@ module:
node: 0
options: 0
page_cache: 0
pagerer: 0
path: 0
path_alias_xt: 0
pathologic: 0
@ -108,6 +109,7 @@ module:
video_embed_wysiwyg: 0
views_bulk_edit: 0
views_bulk_operations: 0
views_ef_fieldset: 0
views_ui: 0
workflow: 0
workflow_access: 0

View File

@ -0,0 +1,28 @@
uuid: bf067943-5d17-4d5a-993f-5b588f5e7c74
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_linked_materials
- node.type.breve
- node.type.materiau
id: node.breve.field_linked_materials
field_name: field_linked_materials
entity_type: node
bundle: breve
label: 'Linked Materials'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
materiau: materiau
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,19 @@
uuid: a92069d5-50b8-451d-8625-c925945a96f7
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_memo
- node.type.breve
id: node.breve.field_memo
field_name: field_memo
entity_type: node
bundle: breve
label: Memo
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long

View File

@ -0,0 +1,22 @@
uuid: a4f5ca8c-98f0-4054-8f94-4140731330ec
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_migration
- node.type.breve
module:
- workflow
id: node.breve.field_migration
field_name: field_migration
entity_type: node
bundle: breve
label: Migration
description: ''
required: true
translatable: false
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -0,0 +1,29 @@
uuid: 9aced5e5-f854-45c6-93da-4d1ce8e316f4
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_showroom
- node.type.breve
- taxonomy.vocabulary.showroom
id: node.breve.field_showroom
field_name: field_showroom
entity_type: node
bundle: breve
label: Showroom
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
showroom: showroom
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,23 @@
uuid: e005850e-06be-4fda-b8f2-d7fe58e7dcb2
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_source
- node.type.breve
module:
- link
id: node.breve.field_source
field_name: field_source
entity_type: node
bundle: breve
label: Source
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
link_type: 16
title: 1
field_type: link

View File

@ -0,0 +1,29 @@
uuid: 6c6ea686-36b0-4559-9dd4-7bca5881ec72
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_tags
- node.type.breve
- taxonomy.vocabulary.tags
id: node.breve.field_tags
field_name: field_tags
entity_type: node
bundle: breve
label: Tags
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
tags: tags
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,29 @@
uuid: 31148528-e099-4e5e-ad77-29bef9b92834
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_thesaurus
- node.type.breve
- taxonomy.vocabulary.thesaurus
id: node.breve.field_thesaurus
field_name: field_thesaurus
entity_type: node
bundle: breve
label: Thesaurus
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
thesaurus: thesaurus
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,25 @@
uuid: b656b981-ac86-42ad-acda-523af28190bd
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_video
- node.type.breve
module:
- video_embed_field
id: node.breve.field_video
field_name: field_video
entity_type: node
bundle: breve
label: Video
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
allowed_providers:
youtube: youtube
vimeo: vimeo
youtube_playlist: '0'
field_type: video_embed_field

View File

@ -0,0 +1,38 @@
uuid: 60fd3398-d5c6-47e9-9fa2-fdd6bce554cc
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_visuel
- node.type.breve
module:
- image
id: node.breve.field_visuel
field_name: field_visuel
entity_type: node
bundle: breve
label: Visuel
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
file_directory: visuels
file_extensions: 'png gif jpg jpeg'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: false
title_field: true
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
handler: 'default:file'
handler_settings: { }
field_type: image

View File

@ -0,0 +1,22 @@
uuid: 71e4e2b7-8766-4428-a7ef-d7ec848977dc
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_workflow
- node.type.breve
module:
- workflow
id: node.breve.field_workflow
field_name: field_workflow
entity_type: node
bundle: breve
label: Workflow
description: ''
required: true
translatable: false
default_value:
- { }
default_value_callback: ''
settings: { }
field_type: workflow

View File

@ -0,0 +1,20 @@
uuid: 1191dcbb-f7e4-4024-8446-e823dc743560
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_showroom
field_name: field_showroom
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,19 @@
uuid: e3a5e245-e3cd-43ea-9117-a42f06db8ba3
langcode: en
status: true
dependencies:
module:
- link
- node
id: node.field_source
field_name: field_source
entity_type: node
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,30 @@
uuid: 9870a7ee-49d4-4d3a-8f8c-5be464290e42
langcode: en
status: true
dependencies:
module:
- file
- image
- node
id: node.field_visuel
field_name: field_visuel
entity_type: node
type: image
settings:
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
target_type: file
display_field: false
display_default: false
module: image
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,2 @@
settings:
label: 'Titre de page'

View File

@ -0,0 +1,30 @@
default_config:
tags:
page_breaker:
pages:
prefix_label: Page
previous:
next:
page_current_title: 'Page courante'
page_title: 'Aller à la page @number'
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
page_current_reader: 'Page courante'
page_reader: Page
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
prefix_label: Élément
previous:
next:
page_reader: Élément
first_reader: 'Premier élément'
item_ranges:
prefix_label: Éléments
previous:
next:
page_reader: Éléments

View File

@ -0,0 +1,20 @@
default_config:
tags:
pages:
previous:
next:
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
previous:
next:
first_reader: 'Premier élément'
item_ranges:
previous:
next:

View File

@ -0,0 +1,21 @@
default_config:
tags:
pages:
prefix_label: Page
previous:
next:
page_current_title: 'Page courante'
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
page_current_reader: 'Page courante'
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
prefix_label: Élément
previous:
next:
first_reader: 'Premier élément'

View File

@ -0,0 +1,30 @@
default_config:
tags:
page_breaker:
pages:
prefix_label: Page
previous:
next:
page_current_title: 'Page courante'
page_title: 'Aller à la page @number'
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
page_current_reader: 'Page courante'
page_reader: Page
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
prefix_label: Élément
previous:
next:
page_reader: Élément
first_reader: 'Premier élément'
item_ranges:
prefix_label: Éléments
previous:
next:
page_reader: Éléments

View File

@ -0,0 +1,29 @@
default_config:
tags:
pages:
prefix_label: Page
previous:
next:
page_current_title: 'Page courante'
page_title: 'Aller à la page @number'
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
page_current_reader: 'Page courante'
page_reader: Page
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
prefix_label: Élément
previous:
next:
page_reader: Élément
first_reader: 'Premier élément'
item_ranges:
prefix_label: Éléments
previous:
next:
page_reader: Éléments

View File

@ -0,0 +1,25 @@
default_config:
tags:
pages:
prefix_label: Page
previous:
next:
page_current_title: 'Page courante'
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
page_current_reader: 'Page courante'
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
prefix_label: Élément
previous:
next:
first_reader: 'Premier élément'
item_ranges:
prefix_label: Éléments
previous:
next:

View File

@ -0,0 +1,36 @@
default_config:
tags:
page_breaker:
pages:
prefix_label: Page
first: '« Premier'
previous: ' Précédent'
next: 'Suivant '
last: 'Dernier »'
page_current_title: 'Page courante'
page_title: 'Aller à la page @number'
first_title: 'Aller à la première page'
previous_title: 'Aller à la page précédente'
next_title: 'Aller à la page suivante'
last_title: 'Aller à la dernière page'
page_current_reader: 'Page courante'
page_reader: Page
first_reader: 'Première page'
previous_reader: 'Page précédente'
next_reader: 'Page suivante'
last_reader: 'Dernière page'
items:
prefix_label: Élément
first: '« Premier'
previous: ' Précédent'
next: 'Suivant '
last: 'Dernier »'
page_reader: Élément
first_reader: 'Premier élément'
item_ranges:
prefix_label: Éléments
first: '« Premier'
previous: ' Précédent'
next: 'Suivant '
last: 'Dernier »'
page_reader: Éléments

View File

@ -14,3 +14,5 @@ display:
items_per_page_label: 'Éléments par page'
items_per_page_options_all_label: '- Tout -'
offset_label: Décalage
page_1:
display_title: Page

View File

@ -62,3 +62,4 @@ display:
tab_options:
title: Contenu
description: 'Trouver et gérer le contenu'
display_title: Page

View File

@ -23,3 +23,5 @@ display:
separator: ', '
langcode:
separator: ', '
page_1:
display_title: Page

View File

@ -19,3 +19,5 @@ display:
first: '« Premier'
last: 'Dernier »'
display_title: Maître
page_1:
display_title: Page

View File

@ -19,3 +19,5 @@ display:
label: Titre
name:
label: Auteur
page_1:
display_title: Page

View File

@ -41,3 +41,5 @@ display:
title:
expose:
label: Titre
page_1:
display_title: Page

View File

@ -14,3 +14,5 @@ display:
items_per_page_label: 'Éléments par page'
items_per_page_options_all_label: '- Tout -'
offset_label: Décalage
page_1:
display_title: Page

View File

@ -22,3 +22,5 @@ display:
redirect_source__path:
separator: ', '
title: Rediriger
page_1:
display_title: Page

View File

@ -18,3 +18,5 @@ display:
tid:
exception:
title: Tout
page_1:
display_title: Page

View File

@ -66,6 +66,7 @@ display:
content: 'Personne n''est disponible.'
use_more_text: plus
page_1:
display_title: Page
display_options:
menu:
title: Lister

View File

@ -26,3 +26,5 @@ display:
type:
expose:
label: Type
page:
display_title: Page

View File

@ -0,0 +1,82 @@
uuid: 7e452f78-a8e4-4c12-ad45-a07390ba1d6b
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: mNckIt8NkX9wGgZbHCl1Rc7bMRxFBND-3C2uWaTYbLM
id: d7_node_breve
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
- Materio
migration_group: d7_materio
label: 'Node Breve'
source:
plugin: d7_node_breve
node_type: breve
process:
type:
plugin: default_value
default_value: breve
title: title
field_migration:
plugin: default_value
default_value: migration_imported
body:
plugin: iterator
source: field_description
process:
value: value
format:
plugin: default_value
default_value: wysiwyg
langcode: language
field_memo: field_memo
field_workflow:
-
plugin: default_value
source: workflow
default_value: 2
-
plugin: static_map
map:
1: workflow_creation
2: workflow_hidden
3: workflow_visible
4: workflow_imported
5: workflow_edited
field_thesaurus:
plugin: migration_lookup
migration: d7_taxonomy_term_thesaurus
source: field_onthologie
field_tags:
plugin: migration_lookup
migration: d7_taxonomy_term_tags
source: field_tags_libres
field_video:
plugin: iterator
source: field_video_filter
process:
value: url
field_linked_materials:
-
plugin: skip_on_empty
method: process
source: linked_materials
-
plugin: migration_lookup
migration: d7_node_materiau
no_stub: true
destination:
plugin: 'entity:node'
migration_dependencies:
required:
- d7_taxonomy_term_thesaurus
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_materiau

View File

@ -1,9 +1,9 @@
uuid: 6c5b9fb1-2e3f-4e9f-a9d1-c9205b8754cd
uuid: 9df6ad17-bffc-42bc-988f-78f464b529d4
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: hvqfFuRl4fkwFbaDuwXun4zVkaLzZyTTCdcK-wx33ck
default_config_hash: t6tESeD5gSyUOUHmIcKqhmhWjysEil-5oeNeK1cFuSU
id: d7_node_materiau
class: null
field_plugin_method: null
@ -37,8 +37,13 @@ process:
langcode: language
field_memo: field_memo
field_workflow:
plugin: static_map
-
plugin: default_value
source: workflow
default_value: 2
-
plugin: static_map
default_value: 2
map:
1: workflow_creation
2: workflow_hidden
@ -66,6 +71,24 @@ process:
source: field_video_filter
process:
value: url
field_linked_materials:
-
plugin: skip_on_empty
method: process
source: linked_materials
-
plugin: migration_lookup
migration: d7_node_materiau
no_stub: true
field_linked_breves:
-
plugin: skip_on_empty
method: process
source: linked_breves
-
plugin: migration_lookup
migration: d7_node_breve
no_stub: true
destination:
plugin: 'entity:node'
migration_dependencies:
@ -74,3 +97,5 @@ migration_dependencies:
- d7_taxonomy_term_tags
- d7_taxonomy_term_company
- d7_taxonomy_term_showroom
optional:
- d7_node_breve

View File

@ -1,4 +1,4 @@
uuid: 27e23cf6-2ea1-4076-9b8c-f497d8de08a1
uuid: 269d655a-5cf6-4e99-9e81-38dd5451a0fb
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 14603995-5a4c-4b5c-b15c-23faabadc7aa
uuid: f27298b9-abee-4f9b-97bc-0db2f1271739
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 6860a9c3-2980-4d62-9555-6f032bc32b70
uuid: 74e19686-8107-40e5-9bfb-3e1d203bc61f
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: a70f11f2-29cb-454c-955a-5524fd9641fc
uuid: ae4c8a4c-c907-474b-860c-dc7db05c8676
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: e0ba2b7b-ac37-46b1-b4a4-81e4d7b82dd4
uuid: 54c975f0-e057-4ec3-8f82-78f5760eac5b
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: e7c566d9-2f1a-4a0b-83a4-94a94a3354d2
uuid: 03b814c1-99b9-4a0d-bccf-586a3f185bdf
langcode: en
status: true
dependencies: { }

View File

@ -1,4 +1,4 @@
uuid: 16893376-6f31-40ad-bac7-48119ad816ef
uuid: 7e44f672-e02e-42c9-bd0b-12056a0325d5
langcode: en
status: true
dependencies:

View File

@ -0,0 +1,48 @@
uuid: 0833cf6f-6127-4117-a532-39f99467ba62
langcode: en
status: true
dependencies: { }
id: default
label: Default
panes:
left:
style: none
config: { }
center:
style: mini
config:
display_mode: widget
display: pages
display_restriction: 2
prefix_display: true
suffix_display: true
first_link: always
previous_link: always
next_link: always
last_link: always
widget_resize: true
widget_button: auto
tags:
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
widget_title: 'Enter page, then press Return.'
right:
style: none
config: { }

View File

@ -0,0 +1,3 @@
core_override_preset: core
_core:
default_config_hash: tLxrrjzKePIN4ln4AR0auNqMpENEfgQ6F6MVbsoFYsM

View File

@ -0,0 +1,96 @@
langcode: en
default_config:
quantity: 5
display_mode: normal
display: pages
display_restriction: 2
prefix_display: false
suffix_display: false
separator_display: false
breaker_display: true
first_link: never
previous_link: never
next_link: never
last_link: never
fl_breakers: true
progr_links: relative
tags:
page_breaker:
page_separator: '|'
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
page_previous: '@number'
page_previous_relative: '-@offset'
page_next: '@number'
page_next_relative: +@offset
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
page_title: 'Go to page @number'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
page_reader: Page
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
items:
prefix_label: Item
suffix_label: 'of @total_items'
page_current: '@item'
page_previous: '@item'
page_previous_relative: '-@item_offset'
page_next: '@item'
page_next_relative: +@item_offset
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to item @item'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
page_current_reader: 'Current items'
page_reader: Item
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
item_ranges:
prefix_label: Items
suffix_label: 'of @total_items'
page_current: '@item_low-@item_high'
page_previous: '@item_low-@item_high'
page_previous_relative: '-@item_offset'
page_next: '@item_low-@item_high'
page_next_relative: +@item_offset
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to items @item_low-@item_high'
first_title: 'Go to first items'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last items'
page_current_reader: 'Current items'
page_reader: Items
first_reader: 'First items'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last items'
_core:
default_config_hash: tAMh3Y-xcyrD7xvBOSc7x5xyatMgzp7PvkT2LWYHvAc

View File

@ -0,0 +1,57 @@
langcode: en
default_config:
display: pages
display_restriction: 2
prefix_display: true
first_link: never
previous_link: not_on_first
next_link: not_on_last
last_link: never
tags:
pages:
prefix_label: 'Page <b>@number</b> of @total'
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
items:
prefix_label: 'Item <b>@item</b> of @total_items'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
item_ranges:
prefix_label: 'Items <b>@item_low-@item_high</b> of @total_items'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
first_title: 'Go to first items'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last items'
first_reader: 'First items'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last items'
_core:
default_config_hash: CIMBsgQI4M_WsBh0nn1FLrjeO5m-wBCfAITt31sNSvU

View File

@ -0,0 +1,56 @@
langcode: en
default_config:
display_mode: widget
display: pages
display_restriction: 2
prefix_display: true
suffix_display: true
first_link: always
previous_link: always
next_link: always
last_link: always
widget_resize: true
widget_button: auto
tags:
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
widget_title: 'Enter page, then press Return.'
items:
prefix_label: Item
suffix_label: 'of @total_items'
page_current: '@item'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
page_current_reader: 'Current items'
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
widget_title: 'Enter item, then press Return.'
_core:
default_config_hash: YP4UGZ9wBNDGXik5rx5VuDxmXD6PZ-h-lYXi95VjDYQ

View File

@ -0,0 +1,14 @@
langcode: en
default_config:
panes:
left:
style: none
config: { }
center:
style: standard
config: { }
right:
style: none
config: { }
_core:
default_config_hash: '-rL0nDexAHYtF5mmC-u-onXnyho8G__xNLvoGDHOvhM'

View File

@ -0,0 +1,97 @@
langcode: en
default_config:
quantity: 5
display_mode: normal
display: pages
display_restriction: 2
prefix_display: false
suffix_display: false
separator_display: false
breaker_display: true
first_link: never
previous_link: never
next_link: never
last_link: never
fl_breakers: true
progr_links: relative
factors: '2.5,5,10'
tags:
page_breaker:
page_separator: '|'
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
page_previous: '@number'
page_previous_relative: '-@offset'
page_next: '@number'
page_next_relative: +@offset
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
page_title: 'Go to page @number'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
page_reader: Page
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
items:
prefix_label: Item
suffix_label: 'of @total_items'
page_current: '@item'
page_previous: '@item'
page_previous_relative: '-@item_offset'
page_next: '@item'
page_next_relative: +@item_offset
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to item @item'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
page_current_reader: 'Current items'
page_reader: Item
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
item_ranges:
prefix_label: Items
suffix_label: 'of @total_items'
page_current: '@item_low-@item_high'
page_previous: '@item_low-@item_high'
page_previous_relative: '-@item_offset'
page_next: '@item_low-@item_high'
page_next_relative: +@item_offset
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to items @item_low-@item_high'
first_title: 'Go to first items'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last items'
page_current_reader: 'Current items'
page_reader: Items
first_reader: 'First items'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last items'
_core:
default_config_hash: qCLM78iR4U3gKXB1a5FwOdD6in7s2_vj1_f0V3gZoqI

View File

@ -0,0 +1,85 @@
langcode: en
default_config:
quantity: 9
display: pages
display_restriction: 2
prefix_display: false
suffix_display: false
separator_display: false
first_link: never
previous_link: never
next_link: never
last_link: never
tags:
page_separator: '|'
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
page_previous: '@number'
page_next: '@number'
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
page_title: 'Go to page @number'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
page_reader: Page
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
items:
prefix_label: Item
suffix_label: 'of @total_items'
page_current: '@item'
page_previous: '@item'
page_next: '@item'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to item @item'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
page_current_reader: 'Current items'
page_reader: Item
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
item_ranges:
prefix_label: Items
suffix_label: 'of @total_items'
page_current: '@item_low-@item_high'
page_previous: '@item_low-@item_high'
page_next: '@item_low-@item_high'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to items @item_low-@item_high'
first_title: 'Go to first items'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last items'
page_current_reader: 'Current items'
page_reader: Items
first_reader: 'First items'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last items'
_core:
default_config_hash: ZxtqDRLnhh4NHGSvlv_On712qgz4AWz1on0rYI6m9a4

View File

@ -0,0 +1,86 @@
langcode: en
default_config:
display: pages
display_restriction: 2
prefix_display: true
suffix_display: true
first_link: never
previous_link: never
next_link: never
last_link: never
slider_width: 27
slider_action: tickmark
slider_action_timeout: 0
slider_navigation_icons: 'yes'
tags:
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
page_previous: '@number'
page_next: '@number'
first: «
previous:
next:
last: »
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
slider_title: 'Drag the handle to the page required.'
slider_tickmark_title: 'Then, click on the tickmark.'
items:
prefix_label: Item
suffix_label: 'of @total_items'
page_current: '@item'
page_previous: '@item'
page_next: '@item'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
page_current_reader: 'Current items'
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
slider_title: 'Drag the handle to the item required.'
slider_tickmark_title: 'Then, click on the tickmark.'
item_ranges:
prefix_label: Items
suffix_label: 'of @total_items'
page_current: '@item_low-@item_high'
page_previous: '@item_low-@item_high'
page_next: '@item_low-@item_high'
first: «
previous:
next:
last: »
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
first_title: 'Go to first items'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last items'
page_current_reader: 'Current items'
first_reader: 'First items'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last items'
slider_title: 'Drag the handle to the item range required.'
slider_tickmark_title: 'Then, click on the tickmark.'
_core:
default_config_hash: Z78iYq8wmBpdGFcOazxhaM6QKFuLEXxNMzEkPzp0JQ0

View File

@ -0,0 +1,89 @@
langcode: en
default_config:
quantity: 9
display_mode: normal
display: pages
display_restriction: 2
prefix_display: false
suffix_display: false
separator_display: false
breaker_display: true
first_link: not_on_first
previous_link: not_on_first
next_link: not_on_last
last_link: not_on_last
fl_breakers: true
tags:
page_breaker:
page_separator: '|'
pages:
prefix_label: Page
suffix_label: 'of @total'
page_current: '@number'
page_previous: '@number'
page_next: '@number'
first: '« First'
previous: ' Previous'
next: 'Next '
last: 'Last »'
pageset_empty: 'No pages to display.'
page_current_title: 'Current page'
page_title: 'Go to page @number'
first_title: 'Go to first page'
previous_title: 'Go to previous page'
next_title: 'Go to next page'
last_title: 'Go to last page'
page_current_reader: 'Current page'
page_reader: Page
first_reader: 'First page'
previous_reader: 'Previous page'
next_reader: 'Next page'
last_reader: 'Last page'
items:
prefix_label: Item
suffix_label: 'of @total_items'
page_current: '@item'
page_previous: '@item'
page_next: '@item'
first: '« First'
previous: ' Previous'
next: 'Next '
last: 'Last »'
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to item @item'
first_title: 'Go to first item'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last item'
page_current_reader: 'Current items'
page_reader: Item
first_reader: 'First item'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last item'
item_ranges:
prefix_label: Items
suffix_label: 'of @total_items'
page_current: '@item_low-@item_high'
page_previous: '@item_low-@item_high'
page_next: '@item_low-@item_high'
first: '« First'
previous: ' Previous'
next: 'Next '
last: 'Last »'
pageset_empty: 'No items to display.'
page_current_title: 'Current items'
page_title: 'Go to items @item_low-@item_high'
first_title: 'Go to first items'
previous_title: 'Go to previous items'
next_title: 'Go to next items'
last_title: 'Go to last items'
page_current_reader: 'Current items'
page_reader: Items
first_reader: 'First items'
previous_reader: 'Previous items'
next_reader: 'Next items'
last_reader: 'Last items'
_core:
default_config_hash: igO6H6v8MWpPKOsd1zmT-Od1xRB4Srna7mu6RBmDzD8

View File

@ -1,4 +1,5 @@
display_extenders: { }
display_extenders:
- views_ef_fieldset
skip_cache: false
sql_signature: false
ui:

View File

@ -4,6 +4,8 @@ status: true
dependencies:
config:
- field.storage.node.field_distributor
- field.storage.node.field_linked_breves
- field.storage.node.field_linked_materials
- field.storage.node.field_manufacturer
- field.storage.node.field_memo
- field.storage.node.field_migration
@ -14,11 +16,11 @@ dependencies:
- user.role.admin
- user.role.root
module:
- better_exposed_filters
- content_lock
- content_translation
- node
- options
- pagerer
- taxonomy
- user
- views_bulk_operations
@ -56,7 +58,7 @@ display:
query_comment: ''
query_tags: { }
exposed_form:
type: bef
type: basic
options:
submit_button: Apply
reset_button: true
@ -65,93 +67,22 @@ display:
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
input_required: false
text_input_required: 'Select any filter and click on Apply to see results'
bef:
general:
allow_secondary: false
secondary_label: 'Advanced options'
autosubmit: false
autosubmit_exclude_textfield: false
autosubmit_hide: false
type:
bef_format: default
more_options:
bef_select_all_none: false
bef_collapsible: false
is_secondary: false
rewrite:
filter_rewrite_values: ''
langcode:
bef_format: default
more_options:
bef_select_all_none: false
bef_collapsible: false
is_secondary: false
rewrite:
filter_rewrite_values: ''
title:
bef_format: default
more_options:
is_secondary: false
placeholder_text: ''
field_manufacturer_target_id:
bef_format: default
more_options:
is_secondary: false
placeholder_text: ''
rewrite:
filter_rewrite_values: ''
field_distributor_target_id:
bef_format: default
more_options:
is_secondary: false
placeholder_text: ''
rewrite:
filter_rewrite_values: ''
field_memo_value:
bef_format: default
more_options:
is_secondary: false
placeholder_text: ''
field_migration_value:
bef_format: default
more_options:
bef_select_all_none: false
bef_collapsible: false
is_secondary: false
rewrite:
filter_rewrite_values: ''
field_workflow_value:
bef_format: default
more_options:
bef_select_all_none: false
bef_collapsible: false
is_secondary: false
rewrite:
filter_rewrite_values: ''
text_input_required_format: wysiwyg
pager:
type: full
type: pagerer
options:
preset: default
items_per_page: 50
offset: 0
id: 0
total_pages: null
tags:
previous:
next:
first: '« First'
last: 'Last »'
id: '0'
total_pages: ''
expose:
items_per_page: false
items_per_page: 0
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all: 0
items_per_page_options_all_label: '- All -'
offset: false
offset: 0
offset_label: Offset
quantity: 9
style:
type: table
options:
@ -171,10 +102,11 @@ display:
translation_link: title
langcode: langcode
field_thesaurus: field_thesaurus
delta: field_thesaurus
field_tags: field_tags
field_manufacturer: field_manufacturer
field_distributor: field_distributor
field_linked_materials: field_linked_materials
field_linked_breves: field_linked_breves
field_workflow: field_workflow
field_migration: field_migration
is_locked: is_locked
@ -225,13 +157,6 @@ display:
separator: '<br/>'
empty_column: false
responsive: ''
delta:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
@ -240,13 +165,23 @@ display:
field_manufacturer:
align: ''
separator: ''
empty_column: false
empty_column: true
responsive: ''
field_distributor:
align: ''
separator: ''
empty_column: true
responsive: ''
field_linked_materials:
align: ''
separator: ''
empty_column: false
responsive: ''
field_linked_breves:
align: ''
separator: ''
empty_column: true
responsive: ''
field_workflow:
sortable: false
default_sort_order: asc
@ -897,6 +832,132 @@ display:
separator: ', '
field_api_classes: false
plugin_id: field
field_linked_materials:
id: field_linked_materials
table: node__field_linked_materials
field: field_linked_materials
relationship: none
group_type: group
admin_label: ''
label: 'Linked Materials'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: '<br/>'
field_api_classes: false
plugin_id: field
field_linked_breves:
id: field_linked_breves
table: node__field_linked_breves
field: field_linked_breves
relationship: none
group_type: group
admin_label: ''
label: 'Linked Brèves'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: '<br/>'
field_api_classes: false
plugin_id: field
field_workflow:
id: field_workflow
table: node__field_workflow
@ -1100,14 +1161,14 @@ display:
suffix: ''
target: ''
nl2br: false
max_length: 0
max_length: 300
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
trim: true
preserve_tags: ''
html: false
element_type: ''
@ -1537,6 +1598,8 @@ display:
- user.roles
tags:
- 'config:field.storage.node.field_distributor'
- 'config:field.storage.node.field_linked_breves'
- 'config:field.storage.node.field_linked_materials'
- 'config:field.storage.node.field_manufacturer'
- 'config:field.storage.node.field_memo'
- 'config:field.storage.node.field_migration'
@ -1549,7 +1612,182 @@ display:
display_title: Page
position: 1
display_options:
display_extenders: { }
display_extenders:
views_ef_fieldset:
views_ef_fieldset:
enabled: 1
options:
sort:
root:
container_type: details
title: Filters
description: ''
open: '1'
weight: '0'
id: root
pid: ''
depth: '0'
type: container
container-0:
container_type: container
title: ''
description: ''
open: '1'
weight: '-21'
id: container-0
pid: root
depth: '1'
type: container
type:
weight: '-21'
id: type
pid: container-0
depth: '2'
type: filter
langcode:
weight: '-20'
id: langcode
pid: container-0
depth: '2'
type: filter
title:
weight: '-19'
id: title
pid: container-0
depth: '2'
type: filter
field_memo_value:
weight: '-18'
id: field_memo_value
pid: container-0
depth: '2'
type: filter
container-1:
container_type: container
title: ''
description: ''
open: '1'
weight: '-20'
id: container-1
pid: root
depth: '1'
type: container
field_manufacturer_target_id:
weight: '-21'
id: field_manufacturer_target_id
pid: container-1
depth: '2'
type: filter
field_distributor_target_id:
weight: '-20'
id: field_distributor_target_id
pid: container-1
depth: '2'
type: filter
container-2:
container_type: container
title: ''
description: ''
open: '1'
weight: '-19'
id: container-2
pid: root
depth: '1'
type: container
field_workflow_value:
weight: '-21'
id: field_workflow_value
pid: container-2
depth: '2'
type: filter
field_migration_value:
weight: '-20'
id: field_migration_value
pid: container-2
depth: '2'
type: filter
container-3:
container_type: container
title: ''
description: ''
weight: '-18'
open: 0
id: container-3
pid: root
depth: '1'
type: container
submit:
weight: '-21'
id: submit
pid: container-3
depth: '2'
type: buttons
reset:
weight: '-20'
id: reset
pid: container-3
depth: '2'
type: buttons
container-4:
container_type: details
title: 'Container 4'
description: ''
weight: '-15'
open: 0
id: container-4
pid: root
depth: '1'
type: container
container-5:
container_type: details
title: 'Container 5'
description: ''
weight: '-14'
open: 0
id: container-5
pid: root
depth: '1'
type: container
container-6:
container_type: details
title: 'Container 6'
description: ''
weight: '-13'
open: 0
id: container-6
pid: root
depth: '1'
type: container
container-7:
container_type: details
title: 'Container 7'
description: ''
weight: '-12'
open: 0
id: container-7
pid: root
depth: '1'
type: container
container-8:
container_type: details
title: 'Container 8'
description: ''
weight: '-11'
open: 0
id: container-8
pid: root
depth: '1'
type: container
container-9:
container_type: details
title: 'Container 9'
description: ''
weight: '-10'
open: 0
id: container-9
pid: root
depth: '1'
type: container
path: admin/content/nodes
cache_metadata:
max-age: 0
@ -1563,6 +1801,8 @@ display:
- user.roles
tags:
- 'config:field.storage.node.field_distributor'
- 'config:field.storage.node.field_linked_breves'
- 'config:field.storage.node.field_linked_materials'
- 'config:field.storage.node.field_manufacturer'
- 'config:field.storage.node.field_memo'
- 'config:field.storage.node.field_migration'