Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
|
@ -5,7 +5,6 @@
|
|||
* Administration pages for image settings.
|
||||
*/
|
||||
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\Core\Render\Element;
|
||||
|
||||
/**
|
||||
|
|
@ -20,8 +19,8 @@ use Drupal\Core\Render\Element;
|
|||
function template_preprocess_image_style_preview(&$variables) {
|
||||
// Style information.
|
||||
$style = $variables['style'];
|
||||
$variables['style_id'] = SafeMarkup::checkPlain($style->id());
|
||||
$variables['style_name'] = SafeMarkup::checkPlain($style->label());
|
||||
$variables['style_id'] = $style->id();
|
||||
$variables['style_name'] = $style->label();
|
||||
|
||||
// Cache bypass token.
|
||||
$variables['cache_bypass'] = REQUEST_TIME;
|
||||
|
|
|
|||
Reference in a new issue