diff --git a/composer.json b/composer.json index 51be320..3eeed00 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,10 @@ "php": ">=8.0", "ext-zip": "*", "ext-json": "*", - "drupal/views_bulk_operations": "4.1.2", - "drupal/core": "^9", + "drupal/views_bulk_operations": "^4.2", + "drupal/core": "^9.5 || ^10", "drupal/search_api_solr": "~4.1", - "strawberryfield/strawberryfield": "1.1.0.x-dev", + "strawberryfield/strawberryfield": "1.3.0.x-dev", "react/event-loop": "^1.1", "react/child-process": "^0.6", "react/stream": "^1.1", diff --git a/src/Plugin/Action/StrawberryRunnersPostProcess.php b/src/Plugin/Action/StrawberryRunnersPostProcess.php index 58bb159..632a9d5 100644 --- a/src/Plugin/Action/StrawberryRunnersPostProcess.php +++ b/src/Plugin/Action/StrawberryRunnersPostProcess.php @@ -74,7 +74,7 @@ public static function create(ContainerInterface $container, /** * {@inheritdoc} */ - public function setContext(array &$context) { + public function setContext(array &$context):void { $this->context['sandbox'] = &$context['sandbox']; foreach ($context as $key => $item) { if ($key === 'sandbox') { @@ -87,7 +87,7 @@ public function setContext(array &$context) { /** * {@inheritdoc} */ - public function setView(ViewExecutable $view) { + public function setView(ViewExecutable $view):void { $this->view = $view; } @@ -134,7 +134,8 @@ public function execute($entity = NULL) { - public function buildPreConfigurationForm(array $element, array $values, FormStateInterface $form_state) { + public function buildPreConfigurationForm(array $element, array $values, FormStateInterface $form_state):array { + return $element; } public function buildConfigurationForm(array $form, FormStateInterface $form_state) { diff --git a/strawberry_runners.info.yml b/strawberry_runners.info.yml index c416fc1..e7f8ce5 100644 --- a/strawberry_runners.info.yml +++ b/strawberry_runners.info.yml @@ -1,10 +1,11 @@ name: Strawberry Runners -description: Provides Post processing integration based on Strawberryfield JSON data. +description: Provides Post processing integration based on Strawberryfield JSON data for Drupal 9/10. package: Archipelago type: module -core_version_requirement: ^8.9 || ^9 -php: 7.1 +core_version_requirement: ^9.5 || ^10 +php: 8 dependencies: - 'drupal:views' - 'strawberryfield' - 'search_api_solr' + - 'views_bulk_operations'