Issue #3354838: openai_content functionalities appear only on edition and not on creation
Compare changes
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -8,6 +8,7 @@
@@ -17,8 +18,10 @@ use Drupal\openai\Utility\StringHelper;
@@ -30,6 +33,13 @@ function openai_content_form_alter(array &$form, FormStateInterface $form_state,
@@ -64,6 +74,14 @@ function openai_content_form_alter(array &$form, FormStateInterface $form_state,
@@ -87,6 +105,14 @@ function openai_content_form_alter(array &$form, FormStateInterface $form_state,
@@ -108,6 +134,26 @@ function openai_content_form_alter(array &$form, FormStateInterface $form_state,
@@ -120,17 +166,19 @@ function openai_content_form_alter(array &$form, FormStateInterface $form_state,
@@ -159,16 +207,18 @@ function openai_content_node_adjust_tone(array &$form, FormStateInterface $form_
@@ -197,16 +247,18 @@ function openai_content_node_field_summarize(array &$form, FormStateInterface $f