Commit 39aa5fce authored by Project Update Bot's avatar Project Update Bot Committed by Vladimir Roudakov
Browse files

Issue #3288977 by Project Update Bot, VladimirAus: Automated Drupal 10 compatibility fixes

parent ad810aad
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2,14 +2,16 @@

Additional admin tools to manage paragraphs.

## Features

* List all the paragraphs: `/admin/content/paragraphs`
* Delete required paragraphs

Permissions added:
## Permissions

* `administer paragraphs`

Requirements
## Requirements

* Views (core module)
* [Paragraphs](https://www.drupal.org/project/paragraphs)
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@
    "type": "drupal-module",
    "description": "Additional admin tools to manage paragraphs.",
    "homepage": "https://www.drupal.org/project/paragraphs_admin",
    "license": "GPL-2.0+",
    "license": "GPL-2.0-or-later",
    "minimum-stability": "dev"
}
+1 −1
Original line number Diff line number Diff line
name: 'Paragraphs Admin'
description: 'Additional admin tools to manage paragraphs.'
type: module
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.2 || ^10
dependencies:
  - paragraphs:paragraphs
  - drupal:user
+1 −1
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@
namespace Drupal\paragraphs_admin\Controller;

use Drupal\Core\Controller\ControllerBase;
use Drupal\paragraphs\ParagraphInterface;
use Drupal\Core\Messenger\MessengerInterface;
use Drupal\paragraphs\ParagraphInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ class ParagraphListingTest extends BrowserTestBase {
   *
   * @var array
   */
  public static $modules = [
  protected static $modules = [
    'paragraphs_admin',
  ];

@@ -41,7 +41,7 @@ class ParagraphListingTest extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    $this->adminUser = $this->drupalCreateUser(['administer paragraphs']);