upgrades core to 8.4.2
This commit is contained in:
@@ -82,7 +82,8 @@ function book_entity_type_build(array &$entity_types) {
|
||||
$entity_types['node']
|
||||
->setFormClass('book_outline', 'Drupal\book\Form\BookOutlineForm')
|
||||
->setLinkTemplate('book-outline-form', '/node/{node}/outline')
|
||||
->setLinkTemplate('book-remove-form', '/node/{node}/outline/remove');
|
||||
->setLinkTemplate('book-remove-form', '/node/{node}/outline/remove')
|
||||
->addConstraint('BookOutline', []);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -437,7 +438,7 @@ function template_preprocess_book_navigation(&$variables) {
|
||||
}
|
||||
|
||||
if (!empty($build)) {
|
||||
drupal_render($build);
|
||||
\Drupal::service('renderer')->render($build);
|
||||
}
|
||||
|
||||
$variables['has_links'] = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user