hook_field_insert

  1. drupal
    1. drupal7
Versionen
drupal7 hook_field_insert($obj_type, $object, $field, $instance, $items)

Define custom insert behavior for this module's field types.

Übergabeparameter

$obj_type The type of $object.

$object The object for the operation.

$field The field structure for the operation.

$instance The instance structure for $field on $object's bundle.

$items $object->{$field['field_name']}, or an empty array if unset.

Verwandte Themen

Code

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

<?php
function hook_field_insert($obj_type, $object, $field, $instance, $items) { }
?>

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