You are here

abstract protected function FieldUpdateActionBase::getFieldsToUpdate in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldUpdateActionBase.php \Drupal\Core\Field\FieldUpdateActionBase::getFieldsToUpdate()

Gets an array of values to be set.

Return value

array Array of values with field names as keys.

2 calls to FieldUpdateActionBase::getFieldsToUpdate()
FieldUpdateActionBase::access in core/lib/Drupal/Core/Field/FieldUpdateActionBase.php
Checks object access.
FieldUpdateActionBase::execute in core/lib/Drupal/Core/Field/FieldUpdateActionBase.php
Executes the plugin.
4 methods override FieldUpdateActionBase::getFieldsToUpdate()
DemoteNode::getFieldsToUpdate in core/modules/node/src/Plugin/Action/DemoteNode.php
Gets an array of values to be set.
PromoteNode::getFieldsToUpdate in core/modules/node/src/Plugin/Action/PromoteNode.php
Gets an array of values to be set.
StickyNode::getFieldsToUpdate in core/modules/node/src/Plugin/Action/StickyNode.php
Gets an array of values to be set.
UnstickyNode::getFieldsToUpdate in core/modules/node/src/Plugin/Action/UnstickyNode.php
Gets an array of values to be set.

File

core/lib/Drupal/Core/Field/FieldUpdateActionBase.php, line 36

Class

FieldUpdateActionBase
Provides a base for action plugins that update one or more fields.

Namespace

Drupal\Core\Field

Code

protected abstract function getFieldsToUpdate();