Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cda3f7f8
Commit
cda3f7f8
authored
Mar 13, 2009
by
Dries
Browse files
- Patch
#392686
by yched: more documentation clean-ups.
parent
c59e50aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/field/field.crud.inc
View file @
cda3f7f8
...
...
@@ -39,7 +39,8 @@ class FieldException extends Exception {}
*
* @param array $field:
* - id (integer, read-only)
* The primary identifier of the field.
* The primary identifier of the field. It is assigned automatically
* by field_create_field().
* - field_name (string)
* The name of the field. Each field name is unique within Field API.
* When a field is attached to an object, the field's data is stored
...
...
@@ -78,9 +79,11 @@ class FieldException extends Exception {}
*
* @param array $instance:
* - id (integer, read-only)
* The primary identifier of this field instance.
* The primary identifier of this field instance. It is assigned
* automatically by field_create_instance().
* - field_id (integer, read-only)
* The foreign key of the field attached to the bundle by this instance.
* It is populated automatically by field_create_instance().
* - field_name (string)
* The name of the field attached to the bundle by this instance.
* - bundle (string)
...
...
@@ -171,7 +174,7 @@ class FieldException extends Exception {}
*
* @param $field
* A field structure. The field_name and type properties are
* required.
Read-only properties are assigned automatically.
* required.
* @throw
* FieldException
*/
...
...
@@ -317,7 +320,7 @@ function field_delete_field($field_name) {
*
* @param $instance
* A field instance structure. The field_name and bundle properties
* are required.
Read-only properties are assigned automatically.
* are required.
* @throw
* FieldException
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment