protected function DemoteNode::getFieldsToUpdate in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/Action/DemoteNode.php \Drupal\node\Plugin\Action\DemoteNode::getFieldsToUpdate()
- 9 core/modules/node/src/Plugin/Action/DemoteNode.php \Drupal\node\Plugin\Action\DemoteNode::getFieldsToUpdate()
File
- core/
modules/ node/ src/ Plugin/ Action/ DemoteNode.php, line 22
Class
- DemoteNode
- Demotes a node.
Namespace
Drupal\node\Plugin\ActionCode
protected function getFieldsToUpdate() {
return [
'promote' => NodeInterface::NOT_PROMOTED,
];
}