diff --git a/core/modules/node/config/schema/node.schema.yml b/core/modules/node/config/schema/node.schema.yml index 2a831d7678d8..862a39651a28 100644 --- a/core/modules/node/config/schema/node.schema.yml +++ b/core/modules/node/config/schema/node.schema.yml @@ -63,30 +63,6 @@ action.configuration.node_promote_action: type: action_configuration_default label: 'Promote selected content from front page configuration' -# @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0. -# @see https://www.drupal.org/node/2919303 -action.configuration.node_publish_action: - type: action_configuration_default - label: 'Publish selected content configuration' - -# @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0. -# @see https://www.drupal.org/node/2919303 -action.configuration.node_unpublish_action: - type: action_configuration_default - label: 'Unpublish selected content configuration' - -# @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0. -# @see https://www.drupal.org/node/2919303 -action.configuration.node_save_action: - type: action_configuration_default - label: 'Save content configuration' - -# @deprecated in Drupal 8.6.x, to be removed before Drupal 9.0.0. -# @see https://www.drupal.org/node/2934349 -action.configuration.node_delete_action: - type: action_configuration_default - label: 'Delete content configuration' - action.configuration.node_make_sticky_action: type: action_configuration_default label: 'Make selected content sticky configuration' diff --git a/core/modules/node/src/NodeAccessControlHandler.php b/core/modules/node/src/NodeAccessControlHandler.php index b742f9c052c1..3c2e8190bf1b 100644 --- a/core/modules/node/src/NodeAccessControlHandler.php +++ b/core/modules/node/src/NodeAccessControlHandler.php @@ -156,14 +156,6 @@ class NodeAccessControlHandler extends EntityAccessControlHandler implements Nod return $grants; } - /** - * {@inheritdoc} - */ - public function writeGrants(NodeInterface $node, $delete = TRUE) { - $grants = $this->acquireGrants($node); - $this->grantStorage->write($node, $grants, NULL, $delete); - } - /** * {@inheritdoc} */ diff --git a/core/modules/node/src/NodeAccessControlHandlerInterface.php b/core/modules/node/src/NodeAccessControlHandlerInterface.php index 4cf84d7a7a1d..588391394eec 100644 --- a/core/modules/node/src/NodeAccessControlHandlerInterface.php +++ b/core/modules/node/src/NodeAccessControlHandlerInterface.php @@ -28,27 +28,6 @@ interface NodeAccessControlHandlerInterface { */ public function acquireGrants(NodeInterface $node); - /** - * Writes a list of grants to the database, deleting any previously saved ones. - * - * Modules that use node access can use this function when doing mass updates - * due to widespread permission changes. - * - * Note: Don't call this function directly from a contributed module. Call - * \Drupal\node\NodeAccessControlHandlerInterface::acquireGrants() instead. - * - * @param \Drupal\node\NodeInterface $node - * The node whose grants are being written. - * @param $delete - * (optional) If false, does not delete records. This is only for optimization - * purposes, and assumes the caller has already performed a mass delete of - * some form. Defaults to TRUE. - * - * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. - * Use \Drupal\node\NodeAccessControlHandlerInterface::acquireGrants(). - */ - public function writeGrants(NodeInterface $node, $delete = TRUE); - /** * Creates the default node access grant entry on the grant storage. */ diff --git a/core/modules/node/src/Plugin/Action/DeleteNode.php b/core/modules/node/src/Plugin/Action/DeleteNode.php deleted file mode 100644 index 0213ccf51b38..000000000000 --- a/core/modules/node/src/Plugin/Action/DeleteNode.php +++ /dev/null @@ -1,34 +0,0 @@ -