public function ParagraphsTypePermissions::globalPermissions in Paragraphs 8
Returns an array of content permissions.
Return value
array
1 string reference to 'ParagraphsTypePermissions::globalPermissions'
- paragraphs_type_permissions.permissions.yml in modules/
paragraphs_type_permissions/ paragraphs_type_permissions.permissions.yml - modules/paragraphs_type_permissions/paragraphs_type_permissions.permissions.yml
File
- modules/
paragraphs_type_permissions/ src/ ParagraphsTypePermissions.php, line 20
Class
- ParagraphsTypePermissions
- Defines a class containing permission callbacks.
Namespace
Drupal\paragraphs_type_permissionsCode
public function globalPermissions() {
return array(
'bypass paragraphs type content access' => array(
'title' => $this
->t('Bypass Paragraphs type content access control'),
'description' => $this
->t('Is able to administer content for all Paragraph types'),
),
);
}