Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2

This commit is contained in:
Pantheon Automation 2016-06-02 15:56:09 -07:00 committed by Greg Anderson
parent 9eae24d844
commit 28556d630e
1322 changed files with 6699 additions and 2064 deletions

View file

@ -127,7 +127,7 @@ function book_node_links_alter(array &$links, NodeInterface $node, array &$conte
}
/**
* Implements hook_form_BASE_FORM_ID_alter() for node_form().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*
* Adds the book form element to the node form.
*
@ -323,7 +323,7 @@ function book_node_prepare_form(NodeInterface $node, $operation, FormStateInterf
}
/**
* Implements hook_form_BASE_FORM_ID_alter().
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeDeleteForm.
*
* Alters the confirm form for a single node deletion.
*/

View file

@ -10,7 +10,7 @@ use Drupal\node\NodeInterface;
/**
* Determines whether the requested node can be removed from its book.
*/
class BookNodeIsRemovableAccessCheck implements AccessInterface{
class BookNodeIsRemovableAccessCheck implements AccessInterface {
/**
* Book Manager Service.

View file

@ -720,7 +720,7 @@ class BookManager implements BookManagerInterface {
* @param array $flat
* A flat array of the menu links from $tree, passed by reference.
*
* @see static::bookTreeGetFlat().
* @see static::bookTreeGetFlat()
*/
protected function flatBookTree(array $tree, array &$flat) {
foreach ($tree as $data) {
@ -1045,7 +1045,6 @@ class BookManager implements BookManagerInterface {
*
* @return array
* Book tree.
*
*/
protected function buildBookOutlineRecursive(&$links, $parents, $depth) {
$tree = array();

View file

@ -81,7 +81,6 @@ interface BookManagerInterface {
*
* @param int[] $nids
* An array of nids to load.
*
* @param bool $translate
* If TRUE, set access, title, and other elements.
*

View file

@ -198,4 +198,5 @@ class BookOutlineStorage implements BookOutlineStorageInterface {
}
return $query->execute();
}
}

View file

@ -49,7 +49,6 @@ interface BookOutlineStorageInterface {
*
* @param array $book_link
* The book link.
*
* @param int $max_depth
* The maximum supported depth of the book tree.
*
@ -166,4 +165,5 @@ interface BookOutlineStorageInterface {
* Array of unordered subtree book items.
*/
public function getBookSubtree($link, $max_depth);
}

View file

@ -71,7 +71,6 @@ class BookController extends ControllerBase {
*
* @return array
* A render array representing the administrative page content.
*
*/
public function adminOverview() {
$rows = array();