protected property PermissionsTest::$permissions in Metatag 8
Permissions to check for.
Type: string
File
- metatag_extended_perms/
tests/ src/ Functional/ PermissionsTest.php, line 41
Class
- PermissionsTest
- Verify the new permissions are added.
Namespace
Drupal\Tests\metatag_extended_perms\FunctionalCode
protected $permissions = [
'basic' => [
'abstract' => 'Abstract',
'description' => 'Description',
'keywords' => 'Keywords',
'title' => 'Page title',
],
// Tags in the "Advanced" group.
'advanced' => [
'cache_control' => 'Cache control',
'canonical_url' => 'Canonical URL',
'content_language' => 'Content Language',
'expires' => 'Expires',
'generator' => 'Generator',
'geo_placename' => 'Geographical place name',
'geo_position' => 'Geographical position',
'geo_region' => 'Geographical region',
'google' => 'Google',
'icbm' => 'ICBM',
'image_src' => 'Image',
'news_keywords' => 'News Keywords',
'next' => 'Next page URL',
'original_source' => 'Original source',
'pragma' => 'Pragma',
'prev' => 'Previous page URL',
'rating' => 'Rating',
'referrer' => 'Referrer policy',
'refresh' => 'Refresh',
'revisit_after' => 'Revisit After',
'rights' => 'Rights',
// This one is more complicated, so skip it.
// 'robots' => 'Robots',
'set_cookie' => 'Set cookie',
'shortlink' => 'Shortlink URL',
'standout' => 'Standout',
],
];