undo prev commit, was wrong
This commit is contained in:
parent
6a09481105
commit
7d989bad5d
|
@ -39,7 +39,7 @@ content:
|
|||
label_singular: ''
|
||||
label_plural: ''
|
||||
allow_new: true
|
||||
allow_existing: true
|
||||
allow_existing: false
|
||||
match_operator: CONTAINS
|
||||
allow_duplicate: false
|
||||
collapsible: false
|
||||
|
|
|
@ -149,17 +149,17 @@ function ouatminimal_preprocess_input(&$variables) {
|
|||
if (preg_match('/^ief-field_entite-\d+-subform-field_entite-form-add$/', $name)) {
|
||||
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Editer l'entité";
|
||||
}
|
||||
// rename entité reference in paragraphe "Ajouter un node existant" to "ajouyer entite existante"
|
||||
// "ief-field_entite-0-subform-field_entite-form-add"
|
||||
if (preg_match('/^ief-field_entite-\d+-subform-field_entite-form-add-existing$/', $name)) {
|
||||
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter une entité éxistante";
|
||||
}
|
||||
// // rename entité reference in paragraphe "Ajouter un node existant" to "ajouyer entite existante"
|
||||
// // "ief-field_entite-0-subform-field_entite-form-add"
|
||||
// if (preg_match('/^ief-field_entite-\d+-subform-field_entite-form-add-existing$/', $name)) {
|
||||
// $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter une entité éxistante";
|
||||
// }
|
||||
|
||||
// rename entité reference in paragraphe "Ajout de node" to "Ajouter"
|
||||
// "ief-reference-submit-field_entite-7-subform-field_entite-form"
|
||||
if (preg_match('/^ief-reference-submit-field_entite-\d+-subform-field_entite-form$/', $name)) {
|
||||
$element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter";
|
||||
}
|
||||
// // rename entité reference in paragraphe "Ajout de node" to "Ajouter"
|
||||
// // "ief-reference-submit-field_entite-7-subform-field_entite-form"
|
||||
// if (preg_match('/^ief-reference-submit-field_entite-\d+-subform-field_entite-form$/', $name)) {
|
||||
// $element['#value'] = $element['#attributes']['value'] = $variables['attributes']['value'] = "Ajouter";
|
||||
// }
|
||||
|
||||
// rename remove (paragraphe) to "supprimer"
|
||||
if (preg_match('/field_entite_\d+_remove/', $name)) {
|
||||
|
|
Loading…
Reference in New Issue