diff --git a/core/modules/field/field.api.php b/core/modules/field/field.api.php index e05efcc..a1c93de 100644 --- a/core/modules/field/field.api.php +++ b/core/modules/field/field.api.php @@ -87,7 +87,7 @@ function hook_field_extra_fields_alter(&$info) { /** * @defgroup field_types Field Types API * @{ - * Define field types, widget types, display formatter types, storage types. + * Defines field, widget, display formatter, and storage types. * * In the Field API, each field has a type, which determines what kind of data * (integer, string, date, etc.) the field can hold, which settings it provides, @@ -1177,7 +1177,7 @@ function hook_field_attach_submit($entity_type, $entity, $form, &$form_state) { * @param $entity_type * The type of $entity; e.g. 'node' or 'user'. * @param $entity - * The entity with fields to process + * the entity with fields to process. */ function hook_field_attach_presave($entity_type, $entity) { // @todo Needs function body. @@ -1191,7 +1191,7 @@ function hook_field_attach_presave($entity_type, $entity) { * @param $entity_type * The type of $entity; e.g. 'node' or 'user'. * @param $entity - * The entity with fields to process + * the entity with fields to process. */ function hook_field_attach_insert($entity_type, $entity) { // @todo Needs function body. @@ -1205,7 +1205,7 @@ function hook_field_attach_insert($entity_type, $entity) { * @param $entity_type * The type of $entity; e.g. 'node' or 'user'. * @param $entity - * The entity with fields to process + * the entity with fields to process. */ function hook_field_attach_update($entity_type, $entity) { // @todo Needs function body. @@ -1238,7 +1238,7 @@ function hook_field_attach_preprocess_alter(&$variables, $context) { * @param $entity_type * The type of $entity; e.g. 'node' or 'user'. * @param $entity - * The entity with fields to process + * the entity with fields to process. */ function hook_field_attach_delete($entity_type, $entity) { // @todo Needs function body. @@ -1252,7 +1252,7 @@ function hook_field_attach_delete($entity_type, $entity) { * @param $entity_type * The type of $entity; e.g. 'node' or 'user'. * @param $entity - * The entity with fields to process + * the entity with fields to process. */ function hook_field_attach_delete_revision($entity_type, $entity) { // @todo Needs function body. @@ -1395,7 +1395,7 @@ function hook_field_available_languages_alter(&$langcodes, $context) { * @param $entity_type * The type of $entity; e.g. 'node' or 'user'. * @param $entity - * The entity with fields to process + * the entity with fields to process. */ function hook_field_attach_create_bundle($entity_type, $bundle) { // When a new bundle is created, the menu needs to be rebuilt to add the diff --git a/core/modules/field/field.module b/core/modules/field/field.module index 4b02e1b..e13f386 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -250,14 +250,16 @@ const FIELD_BEHAVIOR_DEFAULT = 0x0002; const FIELD_BEHAVIOR_CUSTOM = 0x0004; /** - * Age argument for loading the most recent version of an entity's field data - * with field_attach_load(). + * Load the most recent version of an entity's field data. + * + * @see field_attach_load(). */ const FIELD_LOAD_CURRENT = 'FIELD_LOAD_CURRENT'; /** - * Age argument for loading the version of an entity's field data specified in - * the entity with field_attach_load(). + * Load the version of an entity's field data specified in the entity. + * + * @see field_attach_load(). */ const FIELD_LOAD_REVISION = 'FIELD_LOAD_REVISION';