Skip to content
Snippets Groups Projects
Commit 7746dee4 authored by Jeffrey Bertoen's avatar Jeffrey Bertoen Committed by Sascha Grossenbacher
Browse files

Issue #3263183 by Berdir, jefuri, mathilde_dumond: Fix deprecations for D10 compatibility

parent 5c331635
Branches
Tags
1 merge request!2Issue #3263183 by mathilde_dumond: Fix deprecations for D10 compatibility'...
......@@ -2,4 +2,4 @@ name: 'Block Field'
type: module
description: 'Provides a field that allows a content entity to create and configure custom block instances.'
package: Field
core_version_requirement: ^8.7.7 || ^9
core_version_requirement: ^9 || ^10
......@@ -2,7 +2,6 @@ name: 'Block field module tests'
type: module
description: 'Support module for Block field that provides a working example of a block field.'
package: Testing
core_version_requirement: ^8.7.7 || ^9
dependencies:
- drupal:block_field
- drupal:block_content
......
......@@ -2,7 +2,6 @@ name: 'Block field module widget tests'
type: module
description: 'Support module for block field that provides some default configuration to test the field widget.'
package: Testing
core_version_requirement: ^8.7.7 || ^9
dependencies:
- drupal:block
- drupal:block_field
......
......@@ -22,7 +22,7 @@ class BlockFieldTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = [
protected static $modules = [
'node',
'user',
'block',
......
......@@ -19,7 +19,7 @@ class WidgetTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'node',
'user',
'block',
......@@ -39,7 +39,7 @@ class WidgetTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
public function setUp() {
public function setUp(): void {
parent::setUp();
$this->drupalLogin($this->drupalCreateUser([
......
......@@ -18,12 +18,12 @@ class BlockFieldFormatterTest extends EntityKernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['block', 'block_field', 'block_field_test'];
protected static $modules = ['block', 'block_field', 'block_field_test'];
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installConfig(['user']);
// Add a block field to the test entity.
......
......@@ -14,7 +14,7 @@ class BlockFieldSelectionTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['block', 'system', 'block_field', 'locale'];
protected static $modules = ['block', 'system', 'block_field', 'locale'];
/**
* Returns a plugin instance from BlockFieldSelectionManager.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment