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
|
|
@ -10,7 +10,6 @@ use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
|
|||
use Drupal\Component\Utility\Xss;
|
||||
use Drupal\Core\Entity\EntityInterface;
|
||||
use Drupal\Core\Url;
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
use Drupal\Core\Form\FormStateInterface;
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
use Drupal\user\Entity\User;
|
||||
|
|
@ -447,7 +446,7 @@ function template_preprocess_forums(&$variables) {
|
|||
// them is a shadow copy.
|
||||
if ($variables['tid'] != $topic->forum_tid) {
|
||||
$variables['topics'][$id]->moved = TRUE;
|
||||
$variables['topics'][$id]->title = SafeMarkup::checkPlain($topic->getTitle());
|
||||
$variables['topics'][$id]->title = $topic->getTitle();
|
||||
$variables['topics'][$id]->message = \Drupal::l(t('This topic has been moved'), new Url('forum.page', ['taxonomy_term' => $topic->forum_tid]));
|
||||
}
|
||||
else {
|
||||
|
|
@ -542,7 +541,7 @@ function template_preprocess_forum_list(&$variables) {
|
|||
foreach ($variables['forums'] as $id => $forum) {
|
||||
$variables['forums'][$id]->description = array('#markup' => $forum->description->value);
|
||||
$variables['forums'][$id]->link = forum_uri($forum);
|
||||
$variables['forums'][$id]->name = SafeMarkup::checkPlain($forum->label());
|
||||
$variables['forums'][$id]->name = $forum->label();
|
||||
$variables['forums'][$id]->is_container = !empty($forum->forum_container->value);
|
||||
$variables['forums'][$id]->zebra = $row % 2 == 0 ? 'odd' : 'even';
|
||||
$row++;
|
||||
|
|
|
|||
Reference in a new issue