Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
7a36d6a0
Commit
7a36d6a0
authored
15 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#547756
by yched: Remove some whitespace.
parent
049a8896
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/field/field.attach.inc
+5
-5
5 additions, 5 deletions
modules/field/field.attach.inc
with
5 additions
and
5 deletions
modules/field/field.attach.inc
+
5
−
5
View file @
7a36d6a0
...
...
@@ -155,10 +155,10 @@ class FieldQueryException extends FieldException {}
* invoked. By default, the operation is invoked on all the fields
* in the object's bundle. NOTE: This option is not compatible with
* the 'deleted' option; the 'field_id' option should be used
* instead.
* instead.
* - 'field_id': The id of the field whose operation should be
* invoked. By default, the operation is invoked on all the fields
* in the objects' bundles.
* in the objects' bundles.
* - 'default': A boolean value, specifying which implementation of
* the operation should be invoked.
* - if FALSE (default), the field types implementation of the operation
...
...
@@ -484,10 +484,10 @@ function field_attach_form($obj_type, $object, &$form, &$form_state) {
* - 'field_id': The field id that should be loaded, instead of
* loading all fields, for each object. Note that returned objects
* may contain data for other fields, for example if they are read
* from a cache.
* from a cache.
* - 'deleted': If TRUE, the function will operate on deleted fields
* as well as non-deleted fields. If unset or FALSE, only
* non-deleted fields are operated on.
* non-deleted fields are operated on.
* @returns
* Loaded field values are added to $objects. Fields with no values should be
* set as an empty array.
...
...
@@ -601,7 +601,7 @@ function field_attach_load($obj_type, $objects, $age = FIELD_LOAD_CURRENT, $opti
* - 'field_name': The field name that should be loaded, instead of
* loading all fields, for each object. Note that returned objects
* may contain data for other fields, for example if they are read
* from a cache.
* from a cache.
* @returns
* On return, the objects in $objects are modified by having the
* appropriate set of fields added.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment