updated core to 8.6.3
This commit is contained in:
@@ -28,6 +28,7 @@ use Drupal\node\Entity\Node;
|
||||
use Drupal\node\Entity\NodeType;
|
||||
use Drupal\node\NodeInterface;
|
||||
use Drupal\node\NodeTypeInterface;
|
||||
use Drupal\user\UserInterface;
|
||||
|
||||
/**
|
||||
* Denotes that the node is not published.
|
||||
@@ -713,7 +714,7 @@ function node_ranking() {
|
||||
/**
|
||||
* Implements hook_user_cancel().
|
||||
*/
|
||||
function node_user_cancel($edit, $account, $method) {
|
||||
function node_user_cancel($edit, UserInterface $account, $method) {
|
||||
switch ($method) {
|
||||
case 'user_cancel_block_unpublish':
|
||||
// Unpublish nodes (current revisions).
|
||||
|
||||
Reference in New Issue
Block a user