hook_field_attach_pre_update

  1. drupal
    1. drupal7
Versionen
drupal7 hook_field_attach_pre_update($obj_type, $object, &$skip_fields)

Act on field_attach_update.

This hook allows modules to store data before the Field Storage API, optionally preventing the field storage module from doing so.

Übergabeparameter

$obj_type The type of $object; e.g. 'node' or 'user'.

$object The object with fields to save.

$skip_fields An array keyed by names of fields whose data has already been written and therefore should not be written again. The values associated to these keys are not specified.

Rückgabewert

Saved field names are set set as keys in $skip_fields.

Verwandte Themen

Code

modules/field/field.api.php, line 585

<?php
function hook_field_attach_pre_update($obj_type, $object, &$skip_fields) { }
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen