$config =
$this->
config('system.file'
);
$form['file_public_path'
] =
[ '#type' => 'item',
'#title' =>
$this->
t('Public file system path'
),
'#markup' => PublicStream::
basePath(),
'#description' =>
$this->
t('A local file system path where public files will be stored. This directory must exist and be writable by Drupal. This directory must be relative to the Drupal installation directory and be accessible over the web. This must be changed in settings.php'
),
];
$form['file_public_base_url'
] =
[ '#type' => 'item',
'#title' =>
$this->
t('Public file base URL'
),
'#markup' => PublicStream::
baseUrl(),
'#description' =>
$this->
t('The base URL that will be used for public file URLs. This can be changed in settings.php'
),
];
$form['file_assets_path'
] =
[ '#type' => 'item',
'#title' =>
$this->
t('Optimized assets file system path'
),
'#markup' => AssetsStream::
basePath(),
'#description' =>
$this->
t('A local file system path where optimized assets files will be stored. This directory must exist and be writable by Drupal. This directory must be relative to the Drupal installation directory and be accessible over the web. This must be changed in settings.php'
),
];
$form['file_private_path'
] =
[