|
@@ -59,9 +59,8 @@ function ouatminimal_form_node_form_alter(&$form, FormStateInterface $form_state
|
|
|
$form['#attached']['library'][] = 'seven/node-form';
|
|
|
|
|
|
if ($form["#form_id"] != 'node_static_edit_form') {
|
|
|
- // unset($form['advanced']);
|
|
|
$form['advanced']['#type'] = 'container';
|
|
|
- $form['advanced']['#access'] = FALSE;
|
|
|
+ // $form['advanced']['#access'] = true;
|
|
|
$form['meta']['#type'] = 'container';
|
|
|
$form['meta']['#access'] = TRUE;
|
|
|
$form['meta']['changed']['#wrapper_attributes']['class'][] = 'container-inline';
|
|
@@ -150,19 +149,19 @@ function ouatminimal_preprocess_textarea(&$variables) {
|
|
|
// $variables['attributes']->setAttribute('cols', 40);
|
|
|
}
|
|
|
|
|
|
-function ouatminimal_preprocess_node_edit_form__node_concernement(&$variables) {
|
|
|
- // $variables['form']['advanced']['#group'] = "group_admin";
|
|
|
- // $ph = $variables['form']['title']['widget'][0]['value']['#placeholder'];
|
|
|
- // $variables['form']['title']['widget']['#description'] = $ph;
|
|
|
- // $variables['form']['title']['widget'][0]['#description'] = $ph;
|
|
|
- // $variables['form']['title']['widget'][0]['value']['#description'] = $ph;
|
|
|
+// function ouatminimal_preprocess_node_edit_form__node_concernement(&$variables) {
|
|
|
+// // $variables['form']['advanced']['#group'] = "group_admin";
|
|
|
+// // $ph = $variables['form']['title']['widget'][0]['value']['#placeholder'];
|
|
|
+// // $variables['form']['title']['widget']['#description'] = $ph;
|
|
|
+// // $variables['form']['title']['widget'][0]['#description'] = $ph;
|
|
|
+// // $variables['form']['title']['widget'][0]['value']['#description'] = $ph;
|
|
|
|
|
|
|
|
|
- // $variables['form']['title']['widget']['#title'] = $ph;
|
|
|
- // $variables['form']['title']['widget'][0]['#title'] = $ph;
|
|
|
- // $variables['form']['title']['widget'][0]['value']['#title'] = $ph;
|
|
|
- // $variables['form']['title']['widget'][0]['value']['#placeholder'] = "";
|
|
|
-}
|
|
|
+// // $variables['form']['title']['widget']['#title'] = $ph;
|
|
|
+// // $variables['form']['title']['widget'][0]['#title'] = $ph;
|
|
|
+// // $variables['form']['title']['widget'][0]['value']['#title'] = $ph;
|
|
|
+// // $variables['form']['title']['widget'][0]['value']['#placeholder'] = "";
|
|
|
+// }
|
|
|
|
|
|
function ouatminimal_preprocess_input(&$variables) {
|
|
|
$element = &$variables['element'];
|