BlockContentTypeTest::$permissions

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

Permissions to grant admin user.

Type: array

Overrides BlockContentTestBase::$permissions

File

core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php, line 35

Class

BlockContentTypeTest
Ensures that custom block type functions work correctly.

Namespace

Drupal\Tests\block_content\Functional

Code

protected $permissions = [
    'administer blocks',
    'administer block_content fields',
];

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