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
/
BootstrapPanel.php
diff --git
a/web/themes/contrib/bootstrap/src/Plugin/Preprocess/BootstrapPanel.php
b/web/themes/contrib/bootstrap/src/Plugin/Preprocess/BootstrapPanel.php
index 58eb700e38ede0756822504663fc523c7b2c6830..d874772f18c88a4821e400a60c9c5e66f9c5a2c7 100644
(file)
--- a/
web/themes/contrib/bootstrap/src/Plugin/Preprocess/BootstrapPanel.php
+++ b/
web/themes/contrib/bootstrap/src/Plugin/Preprocess/BootstrapPanel.php
@@
-1,12
+1,7
@@
<?php
<?php
-/**
- * @file
- * Contains \Drupal\bootstrap\Plugin\Preprocess\BootstrapPanel.
- */
namespace Drupal\bootstrap\Plugin\Preprocess;
namespace Drupal\bootstrap\Plugin\Preprocess;
-use Drupal\bootstrap\Annotation\BootstrapPreprocess;
use Drupal\bootstrap\Utility\Element;
use Drupal\bootstrap\Utility\Variables;
use Drupal\Component\Render\MarkupInterface;
use Drupal\bootstrap\Utility\Element;
use Drupal\bootstrap\Utility\Variables;
use Drupal\Component\Render\MarkupInterface;
@@
-29,7
+24,12
@@
class BootstrapPanel extends PreprocessBase implements PreprocessInterface {
$element->map(['id']);
// Add necessary classes.
$element->map(['id']);
// Add necessary classes.
- $element->addClass(['form-item', 'js-form-item', 'form-wrapper', 'js-form-wrapper']);
+ $element->addClass([
+ 'form-item',
+ 'js-form-item',
+ 'form-wrapper',
+ 'js-form-wrapper',
+ ]);
$body = [];
$properties = ['field_prefix', 'body', 'children'];
$body = [];
$properties = ['field_prefix', 'body', 'children'];