drupal-10.access-help-pages.php
Same filename in other branches
Contains database additions for testing the help module permission.
File
-
core/
modules/ help/ tests/ fixtures/ update/ drupal-10.access-help-pages.php
View source
<?php
/**
* @file
* Contains database additions for testing the help module permission.
*/
use Drupal\Core\Database\Database;
use Drupal\Core\Serialization\Yaml;
$connection = Database::getConnection();
$role = Yaml::decode(file_get_contents(__DIR__ . '/drupal-10.access-help-pages.yml'));
$connection->insert('config')
->fields([
'collection',
'name',
'data',
])
->values([
'collection' => '',
'name' => 'user.role.content_editor',
'data' => serialize($role),
])
->execute();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.