BlockContentCreationTest::$permissions

Same name in other branches
  1. 9 core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php \Drupal\Tests\block_content\Functional\BlockContentCreationTest::permissions
  2. 8.9.x core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php \Drupal\Tests\block_content\Functional\BlockContentCreationTest::permissions
  3. 10 core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php \Drupal\Tests\block_content\Functional\BlockContentCreationTest::permissions

Permissions to grant admin user.

Type: array

Overrides BlockContentTestBase::$permissions

File

core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php, line 40

Class

BlockContentCreationTest
Create a block and test saving it.

Namespace

Drupal\Tests\block_content\Functional

Code

protected $permissions = [
    'administer blocks',
    'administer block_content display',
    'access block library',
    'administer block content',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.