summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-13 05:18:18 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-13 05:18:18 +0000
commita4501a2ccaa7cff9c484a505d093970695c27705 (patch)
tree5c0b39e8795349d778ae20b3828a8beaae23b5a8 /modules
parent1372d90cf1a63bbfed207e98d71b8df88536cd08 (diff)
downloadbrdo-a4501a2ccaa7cff9c484a505d093970695c27705.tar.gz
brdo-a4501a2ccaa7cff9c484a505d093970695c27705.tar.bz2
#431870 by yched: Whitespace clean-up.
Diffstat (limited to 'modules')
-rw-r--r--modules/field/field.api.php36
-rw-r--r--modules/field/field.attach.inc4
-rw-r--r--modules/field/field.info.inc2
-rw-r--r--modules/field/field.test4
-rw-r--r--modules/field/modules/list/list.module2
5 files changed, 24 insertions, 24 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 143366908..2a1c4197b 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -238,7 +238,7 @@ function hook_field_validate($obj_type, $object, $field, $instance, $items, &$er
/**
* Define custom presave behavior for this module's field types.
- *
+ *
* TODO: The behavior of this hook is going to change (see
* field_attach_presave()).
*
@@ -292,7 +292,7 @@ function hook_field_update($obj_type, $object, $field, $instance, $items) {
/**
* Define custom delete behavior for this module's field types.
- *
+ *
* This hook is invoked just before the data is deleted from field storage.
*
* @param $obj_type
@@ -311,7 +311,7 @@ function hook_field_delete($obj_type, $object, $field, $instance, $items) {
/**
* Define custom delete_revision behavior for this module's field types.
- *
+ *
* This hook is invoked just before the data is deleted from field storage,
* and will only be called for fieldable types that are versioned.
*
@@ -348,7 +348,7 @@ function hook_field_sanitize($obj_type, $object, $field, $instance, $items) {
/**
* Define custom prepare_translation behavior for this module's field types.
- *
+ *
* TODO: This hook may or may not survive in Field API.
*
* @param $obj_type
@@ -431,7 +431,7 @@ function hook_field_widget_error($element, $error) {
/**
* Act on field_attach_form.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_form() for details and arguments.
@@ -484,7 +484,7 @@ function hook_field_attach_load($obj_type, $object) {
/**
* Act on field_attach_validate.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_validate() for details and arguments.
@@ -494,7 +494,7 @@ function hook_field_attach_validate($obj_type, $object, &$errors) {
/**
* Act on field_attach_submit.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_submit() for details and arguments.
@@ -504,7 +504,7 @@ function hook_field_attach_submit($obj_type, $object, $form, &$form_state) {
/**
* Act on field_attach_presave.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_presave() for details and arguments.
@@ -564,7 +564,7 @@ function hook_field_attach_delete($obj_type, $object) {
/**
* Act on field_attach_delete_revision.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_delete_revision() for details and arguments.
@@ -574,7 +574,7 @@ function hook_field_attach_delete_revision($obj_type, $object) {
/**
* Act on field_attach_view.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* @param $output
@@ -591,7 +591,7 @@ function hook_field_attach_view($output, $obj_type, $object, $teaser) {
/**
* Act on field_attach_create_bundle.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_create_bundle() for details and arguments.
@@ -601,7 +601,7 @@ function hook_field_attach_create_bundle($bundle) {
/**
* Act on field_attach_rename_bundle.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_rename_bundle() for details and arguments.
@@ -611,7 +611,7 @@ function hook_field_rename_bundle($bundle_old, $bundle_new) {
/**
* Act on field_attach_delete_bundle.
- *
+ *
* This hook is invoked after the field module has performed the operation.
*
* See field_attach_delete_bundle() for details and arguments.
@@ -764,7 +764,7 @@ function hook_field_storage_delete_instance($field_name, $bundle) {
/**
* Act on a field being created.
- *
+ *
* This hook is invoked after the field is created and so it cannot modify the
* field itself.
*
@@ -778,7 +778,7 @@ function hook_field_create_field($field) {
/**
* Act on a field instance being created.
- *
+ *
* This hook is invoked after the instance record is saved and so it cannot
* modify the instance itself.
*
@@ -790,7 +790,7 @@ function hook_field_create_instance($instance) {
/**
* Act on a field being deleted.
- *
+ *
* This hook is invoked just before the field is deleted.
*
* TODO: Not implemented.
@@ -804,7 +804,7 @@ function hook_field_delete_field($field) {
/**
* Act on a field instance being updated.
- *
+ *
* This hook is invoked after the instance record is saved and so it cannot
* modify the instance itself.
*
@@ -818,7 +818,7 @@ function hook_field_update_instance($instance) {
/**
* Act on a field instance being deleted.
- *
+ *
* This hook is invoked just before the instance is deleted.
*
* TODO: Not implemented.
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 2b13969be..1a67b4754 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -57,7 +57,7 @@ class FieldValidationException extends FieldException {
/**
* Argument for an insert operation.
- * This is used in hook_field_storage_write when updating an
+ * This is used in hook_field_storage_write when updating an
* existing object.
*/
define('FIELD_STORAGE_UPDATE', 'update');
@@ -284,7 +284,7 @@ function _field_attach_load($obj_type, $objects, $age = FIELD_LOAD_CURRENT) {
// results are merged into the $queried_objects, and into the $additions
// array, that will eventually get cached.
- // Invoke hook_field_attach_pre_load(): let any module load field
+ // Invoke hook_field_attach_pre_load(): let any module load field
// data before the storage engine, accumulating along the way.
$additions_pre_load = array();
$skip_fields = array();
diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc
index ff3966922..e5db1b577 100644
--- a/modules/field/field.info.inc
+++ b/modules/field/field.info.inc
@@ -161,7 +161,7 @@ function _field_info_collate_types($reset = FALSE) {
* an array of all bundles to which the field is assigned.
* - instances: array whose keys are bundle names and whose values
* are an array, keyed by field name, of all Instance objects in
- * that bundle.
+ * that bundle.
*/
function _field_info_collate_fields($reset = FALSE) {
static $info;
diff --git a/modules/field/field.test b/modules/field/field.test
index adf9c06bf..f54ad5842 100644
--- a/modules/field/field.test
+++ b/modules/field/field.test
@@ -949,7 +949,7 @@ class FieldTestCase extends DrupalWebTestCase {
} catch (FieldException $e) {
$this->pass(t('Cannot create a field with no type.'));
}
-
+
// Check that field name is required.
try {
$field_definition = array('type' => 'test_field');
@@ -958,7 +958,7 @@ class FieldTestCase extends DrupalWebTestCase {
} catch (FieldException $e) {
$this->pass(t('Cannot create an unnamed field.'));
}
-
+
$field_definition = array(
'field_name' => drupal_strtolower($this->randomName()),
'type' => 'test_field',
diff --git a/modules/field/modules/list/list.module b/modules/field/modules/list/list.module
index d1761fdf4..ba793476d 100644
--- a/modules/field/modules/list/list.module
+++ b/modules/field/modules/list/list.module
@@ -168,7 +168,7 @@ function theme_field_formatter_list_key($element) {
*
* Call the allowed_values_function to retrieve the allowed
* values array.
- *
+ *
* TODO Rework this to create a method of selecting plugable allowed values lists.
*/
function list_allowed_values($field) {