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
6abc20ee
Commit
6abc20ee
authored
15 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#673340
by fgm: Fixed incorrect wording in several functions in field.crud.inc.
parent
fea12f8c
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.crud.inc
+7
-7
7 additions, 7 deletions
modules/field/field.crud.inc
with
7 additions
and
7 deletions
modules/field/field.crud.inc
+
7
−
7
View file @
6abc20ee
...
...
@@ -200,7 +200,7 @@
* field_create_instance() for that.
*
* @param $field
* A field
structure
. The field_name and type properties are required.
* A field
definition array
. The field_name and type properties are required.
* Other properties, if omitted, will be given the following default values:
* - cardinality: 1
* - locked: FALSE
...
...
@@ -219,7 +219,7 @@
* - settings: each omitted setting is given the default value specified in
* hook_field_storage_info().
* @return
* The $field
structure
with the id property filled in.
* The $field
array
with the id property filled in.
* @throw
* FieldException
*/
...
...
@@ -462,7 +462,7 @@ function field_update_field($field) {
* $include_additional['include_inactive'] to TRUE will override this
* behavior.
* @return
* A field
structure
, or FALSE.
* A field
definition array
, or FALSE.
*/
function
field_read_field
(
$field_name
,
$include_additional
=
array
())
{
$fields
=
field_read_fields
(
array
(
'field_name'
=>
$field_name
),
$include_additional
);
...
...
@@ -482,7 +482,7 @@ function field_read_field($field_name, $include_additional = array()) {
* behavior.
* @return
* An array of fields matching $params. If
* $include_additional['include_deletd'] is TRUE, the array is keyed
* $include_additional['include_delet
e
d'] is TRUE, the array is keyed
* by field id, otherwise it is keyed by field name.
*/
function
field_read_fields
(
$params
=
array
(),
$include_additional
=
array
())
{
...
...
@@ -573,7 +573,7 @@ function field_delete_field($field_name) {
* Creates an instance of a field, binding it to a bundle.
*
* @param $instance
* A field instance
structure
. The field_name, object_type and
* A field instance
definition array
. The field_name, object_type and
* bundle properties are required. Other properties, if omitted,
* will be given the following default values:
* - label: the field name
...
...
@@ -595,7 +595,7 @@ function field_delete_field($field_name) {
* - settings: each omitted setting is given the default value specified in
* hook_field_formatter_info().
* @return
* The $instance
structure
with the id property filled in.
* The $instance
array
with the id property filled in.
* @throw
* FieldException
*/
...
...
@@ -649,7 +649,7 @@ function field_create_instance($instance) {
* Updates an instance of a field.
*
* @param $instance
* An associative array represeting an instance structure. The required
* An associative array represe
n
ting an instance structure. The required
* keys and values are:
* field_name: The name of an existing field.
* bundle: The bundle this field belongs to.
...
...
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