summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/field.api.php42
-rw-r--r--modules/field/field.attach.inc4
-rw-r--r--modules/field/field.info.inc4
-rw-r--r--modules/field/modules/list/list.module2
-rw-r--r--modules/field/modules/text/text.module3
-rw-r--r--modules/field/tests/field.test2
-rw-r--r--modules/field/theme/field.tpl.php2
7 files changed, 30 insertions, 29 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 64b23e929..925859355 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -94,26 +94,26 @@ function hook_field_extra_fields_alter(&$info) {
* can be attached to a fieldable entity. hook_field_info() defines the basic
* properties of a field type, and a variety of other field hooks are called by
* the Field Attach API to perform field-type-specific actions.
- * @see hook_field_info().
- * @see hook_field_info_alter().
- * @see hook_field_schema().
- * @see hook_field_load().
- * @see hook_field_validate().
- * @see hook_field_presave().
- * @see hook_field_insert().
- * @see hook_field_update().
- * @see hook_field_delete().
- * @see hook_field_delete_revision().
- * @see hook_field_prepare_view().
- * @see hook_field_is_empty().
+ * @see hook_field_info()
+ * @see hook_field_info_alter()
+ * @see hook_field_schema()
+ * @see hook_field_load()
+ * @see hook_field_validate()
+ * @see hook_field_presave()
+ * @see hook_field_insert()
+ * @see hook_field_update()
+ * @see hook_field_delete()
+ * @see hook_field_delete_revision()
+ * @see hook_field_prepare_view()
+ * @see hook_field_is_empty()
*
* The Field Types API also defines two kinds of pluggable handlers: widgets
* and formatters, which specify how the field appears in edit forms and in
* displayed entities. Widgets and formatters can be implemented by a field-type
* module for it's own field types, or by a third-party module to extend the
* behavior of existing field types.
- * @see hook_field_widget_info().
- * @see hook_field_formatter_info().
+ * @see hook_field_widget_info()
+ * @see hook_field_formatter_info()
*
* A third kind of pluggable handlers, storage backends, is defined by the
* @link field_storage Field Storage API @endlink.
@@ -541,9 +541,9 @@ function hook_field_is_empty($item, $field) {
* Widgets are Form API elements with additional processing capabilities.
* Widget hooks are typically called by the Field Attach API during the
* creation of the field form structure with field_attach_form().
- * @see hook_field_widget_info_alter().
- * @see hook_field_widget_form().
- * @see hook_field_widget_error().
+ * @see hook_field_widget_info_alter()
+ * @see hook_field_widget_form()
+ * @see hook_field_widget_error()
*
* @return
* An array describing the widget types implemented by the module.
@@ -713,10 +713,10 @@ function hook_field_widget_error($element, $error, $form, &$form_state) {
* called by the Field Attach API field_attach_prepare_view() and
* field_attach_view() functions.
*
- * @see hook_field_formatter_info().
- * @see hook_field_formatter_info_alter().
- * @see hook_field_formatter_view().
- * @see hook_field_formatter_prepare_view().
+ * @see hook_field_formatter_info()
+ * @see hook_field_formatter_info_alter()
+ * @see hook_field_formatter_view()
+ * @see hook_field_formatter_prepare_view()
*
* @return
* An array describing the formatter types implemented by the module.
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index cb22b164c..4122000c4 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -390,7 +390,7 @@ function _field_invoke_multiple($op, $entity_type, $entities, &$a = NULL, &$b =
* Use _field_invoke() to invoke the field type implementation,
* hook_field_[op]().
*
- * @see _field_invoke().
+ * @see _field_invoke()
*/
function _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array()) {
$options['default'] = TRUE;
@@ -404,7 +404,7 @@ function _field_invoke_default($op, $entity_type, $entity, &$a = NULL, &$b = NUL
* Use _field_invoke_multiple() to invoke the field type implementation,
* hook_field_[op]().
*
- * @see _field_invoke_multiple().
+ * @see _field_invoke_multiple()
*/
function _field_invoke_multiple_default($op, $entity_type, $entities, &$a = NULL, &$b = NULL, $options = array()) {
$options['default'] = TRUE;
diff --git a/modules/field/field.info.inc b/modules/field/field.info.inc
index e2015d7c2..7f911dc1c 100644
--- a/modules/field/field.info.inc
+++ b/modules/field/field.info.inc
@@ -535,7 +535,7 @@ function field_info_fields() {
* additional element 'bundles', whose value is an array of all the bundles
* this field belongs to.
*
- * @see field_info_field_by_id().
+ * @see field_info_field_by_id()
*/
function field_info_field($field_name) {
$info = _field_info_collate_fields();
@@ -556,7 +556,7 @@ function field_info_field($field_name) {
* additional element 'bundles', whose value is an array of all the bundles
* this field belongs to.
*
- * @see field_info_field().
+ * @see field_info_field()
*/
function field_info_field_by_id($field_id) {
$info = _field_info_collate_fields();
diff --git a/modules/field/modules/list/list.module b/modules/field/modules/list/list.module
index 96aa51fc8..2f329b136 100644
--- a/modules/field/modules/list/list.module
+++ b/modules/field/modules/list/list.module
@@ -292,7 +292,7 @@ function list_field_is_empty($item, $field) {
* The List module does not implement widgets of its own, but reuses the
* widgets defined in options.module.
*
- * @see list_options_list().
+ * @see list_options_list()
*/
function list_field_widget_info_alter(&$info) {
$widgets = array(
diff --git a/modules/field/modules/text/text.module b/modules/field/modules/text/text.module
index 9685a2bb9..76e8f9c8c 100644
--- a/modules/field/modules/text/text.module
+++ b/modules/field/modules/text/text.module
@@ -199,7 +199,8 @@ function text_field_validate($entity_type, $entity, $field, $instance, $langcode
* Where possible, generate the sanitized version of each field early so that
* it is cached in the field cache. This avoids looking up from the filter cache
* separately.
- * @see text_field_formatter_view().
+ *
+ * @see text_field_formatter_view()
*/
function text_field_load($entity_type, $entities, $field, $instances, $langcode, &$items) {
foreach ($entities as $id => $entity) {
diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test
index 3b5cdc7b5..8fa4820b4 100644
--- a/modules/field/tests/field.test
+++ b/modules/field/tests/field.test
@@ -17,7 +17,7 @@ class FieldTestCase extends DrupalWebTestCase {
*/
function setUp() {
// Call parent::setUp().
- // @see http://www.php.net/manual/en/function.call-user-func-array.php#73105
+ // See http://www.php.net/manual/en/function.call-user-func-array.php#73105.
$args = func_get_args();
call_user_func_array(array($this, 'parent::setUp'), $args);
// Set default storage backend.
diff --git a/modules/field/theme/field.tpl.php b/modules/field/theme/field.tpl.php
index 8478d15a6..8f317c93b 100644
--- a/modules/field/theme/field.tpl.php
+++ b/modules/field/theme/field.tpl.php
@@ -6,7 +6,7 @@
* Default template implementation to display the value of a field.
*
* This file is not used and is here as a starting point for customization only.
- * @see theme_field().
+ * @see theme_field()
*
* Available variables:
* - $items: An array of field values. Use render() to output them.