Skip to content
Snippets Groups Projects
Commit 846c35a1 authored by Adam Nagy's avatar Adam Nagy
Browse files

Issue #3485598: Fix method definition to be compatible with AI module beta version.

parent 0d78ac7d
Branches
Tags 1.0.0-alpha2
1 merge request!1Issue #3485598: Fix method definition to be compatible with AI module beta version.
Pipeline #348524 passed with warnings
......@@ -13,7 +13,7 @@
"homepage": "https://www.drupal.org/project/ai_summarize_document",
"require": {
"drupal/core": "^10 || ^11",
"drupal/ai": "^1.0",
"drupal/ai": "^1.0.0-beta1",
"smalot/pdfparser": "^2.11"
},
"support": {
......
......@@ -120,7 +120,7 @@ final class SummarizeDocument extends AiCKEditorPluginBase {
/**
* {@inheritdoc}
*/
public function buildCkEditorModalForm(array $form, FormStateInterface $form_state) {
public function buildCkEditorModalForm(array $form, FormStateInterface $form_state, array $settings = []) {
$storage = $form_state->getStorage();
$editor_id = $this->requestStack->getParentRequest()->get('editor_id');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment