This commit is contained in:
2020-07-13 17:09:59 +02:00
parent 03559a7b76
commit 3a082e23cc
492 changed files with 4129 additions and 982 deletions
@@ -122,7 +122,7 @@ class FileSystemForm extends ConfigFormBase {
'#markup' => $this->fileSystem->getTempDirectory(),
'#description' => t('A local file system path where temporary files will be stored. This directory should not be accessible over the web. This must be changed in settings.php.'),
];
// Any visible, writeable wrapper can potentially be used for the files
// Any visible, writable wrapper can potentially be used for the files
// directory, including a remote file system that integrates with a CDN.
$options = $this->streamWrapperManager->getDescriptions(StreamWrapperInterface::WRITE_VISIBLE);
@@ -514,6 +514,7 @@ class ThemeSettingsForm extends ConfigFormBase {
* @param string $path
* A path relative to the Drupal root or to the public files directory, or
* a stream wrapper URI.
*
* @return mixed
* A valid path that can be displayed through the theme system, or FALSE if
* the path could not be validated.
@@ -207,8 +207,6 @@ class PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface {
if (!empty($exclude[$path])) {
return NULL;
}
// @todo Use the RequestHelper once https://www.drupal.org/node/2090293 is
// fixed.
$request = Request::create($path);
// Performance optimization: set a short accept header to reduce overhead in
// AcceptHeaderMatcher when matching the request.
@@ -29,6 +29,7 @@ abstract class CacheTestBase extends WebTestBase {
* The variable the cache should contain.
* @param $bin
* The bin the cache item was stored in.
*
* @return
* TRUE on pass, FALSE on fail.
*/
@@ -171,6 +171,7 @@ abstract class EntityCacheTagsTestBase extends PageCacheTagsTestBase {
*
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity to be tested, as created by createEntity().
*
* @return array
* An array of the additional cache tags.
*
@@ -73,6 +73,7 @@ class MockAliasManager implements AliasManagerInterface {
* {@inheritdoc}
* @param $path
* @param null $langcode
*
* @return
*/
public function getAliasByPath($path, $langcode = NULL) {