You are here

public function FieldItemListInterface::preSave in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::preSave()

Defines custom presave behavior for field values.

This method is called during the process of saving an entity, just before item values are written into storage.

See also

\Drupal\Core\Field\FieldItemInterface::preSave()

1 method overrides FieldItemListInterface::preSave()
FieldItemList::preSave in core/lib/Drupal/Core/Field/FieldItemList.php
Defines custom presave behavior for field values.

File

core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 138
Contains \Drupal\Core\Field\FieldItemListInterface.

Class

FieldItemListInterface
Interface for fields, being lists of field items.

Namespace

Drupal\Core\Field

Code

public function preSave();