You are here

protected function NodeMakePublic::getFieldsToUpdate in Private content 8.2

Gets an array of values to be set.

Return value

array Array of values with field names as keys.

Overrides FieldUpdateActionBase::getFieldsToUpdate

File

src/Plugin/Action/NodeMakePublic.php, line 21

Class

NodeMakePublic
Make a post public.

Namespace

Drupal\private_content\Plugin\Action

Code

protected function getFieldsToUpdate() {
  return [
    'private' => 0,
  ];
}