projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
themes
/
contrib
/
bootstrap
/
src
/
Plugin
/
Preprocess
/
FileUploadHelp.php
diff --git
a/web/themes/contrib/bootstrap/src/Plugin/Preprocess/FileUploadHelp.php
b/web/themes/contrib/bootstrap/src/Plugin/Preprocess/FileUploadHelp.php
index 526f2259eca4b1b943efc34ce3c699f0146da150..bee0861f9d385d39ad95363dd6c720d7ea292c71 100644
(file)
--- a/
web/themes/contrib/bootstrap/src/Plugin/Preprocess/FileUploadHelp.php
+++ b/
web/themes/contrib/bootstrap/src/Plugin/Preprocess/FileUploadHelp.php
@@
-1,14
+1,8
@@
<?php
<?php
-/**
- * @file
- * Contains \Drupal\bootstrap\Plugin\Preprocess\FileUploadHelp.
- */
namespace Drupal\bootstrap\Plugin\Preprocess;
namespace Drupal\bootstrap\Plugin\Preprocess;
-use Drupal\bootstrap\Annotation\BootstrapPreprocess;
use Drupal\bootstrap\Bootstrap;
use Drupal\bootstrap\Bootstrap;
-use Drupal\bootstrap\Utility\Element;
use Drupal\bootstrap\Utility\Variables;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Component\Utility\Html;
use Drupal\bootstrap\Utility\Variables;
use Drupal\Component\Render\FormattableMarkup;
use Drupal\Component\Utility\Html;
@@
-77,7
+71,7
@@
class FileUploadHelp extends PreprocessBase implements PreprocessInterface {
$variables['descriptions'] = $descriptions;
if ($descriptions && $this->theme->getSetting('popover_enabled')) {
$variables['descriptions'] = $descriptions;
if ($descriptions && $this->theme->getSetting('popover_enabled')) {
- $build =
array()
;
+ $build =
[]
;
$id = Html::getUniqueId('upload-instructions');
$build['toggle'] = [
'#type' => 'link',
$id = Html::getUniqueId('upload-instructions');
$build['toggle'] = [
'#type' => 'link',