Skip to content

Commit

Permalink
Merge pull request #85 from esmero/ISSUE-82
Browse files Browse the repository at this point in the history
ISSUE-82: Drupal 10 basics + VBO 4.2 changes
  • Loading branch information
DiegoPino authored Oct 31, 2023
2 parents 081efbf + deafcd1 commit 0644410
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 4 additions & 3 deletions src/Plugin/Action/StrawberryRunnersPostProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -87,7 +87,7 @@ public function setContext(array &$context) {
/**
* {@inheritdoc}
*/
public function setView(ViewExecutable $view) {
public function setView(ViewExecutable $view):void {
$this->view = $view;
}

Expand Down Expand Up @@ -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) {
Expand Down
7 changes: 4 additions & 3 deletions strawberry_runners.info.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 0644410

Please sign in to comment.