| Versionen | |
|---|---|
| drupal7 | hook_field_insert($obj_type, $object, $field, $instance, $items) |
Define custom insert behavior for this module's field types.
$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.
modules/
<?php
function hook_field_insert($obj_type, $object, $field, $instance, $items) { }
?>
Kommentare
Kommentar hinzufügen