protected function MediaBehaviorSettingsFormTest::getAdminPermissions in Rabbit Hole 8
Same name and namespace in other branches
- 2.x modules/rh_media/tests/src/Functional/MediaBehaviorSettingsFormTest.php \Drupal\Tests\rh_media\Functional\MediaBehaviorSettingsFormTest::getAdminPermissions()
Returns a list of admin permissions for current entity type.
Return value
array A list of admin permissions.
Overrides RabbitHoleBehaviorSettingsFormTestBase::getAdminPermissions
File
- modules/
rh_media/ tests/ src/ Functional/ MediaBehaviorSettingsFormTest.php, line 118
Class
- MediaBehaviorSettingsFormTest
- Test the functionality of the rabbit hole form additions to the media.
Namespace
Drupal\Tests\rh_media\FunctionalCode
protected function getAdminPermissions() {
return [
'access media overview',
'administer media',
'administer media types',
'view media',
'rabbit hole bypass media',
];
}