summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-21 22:56:40 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-21 22:56:40 -0700
commit7fb83c6354020e45ade31957eaf6651b52165b8b (patch)
tree17012e036858ffe2170ba6c2c4b0dbdc5dadfb2e /modules/field/field.api.php
parent0f856ba72f68d8eb16a5c44ea66c16f9f64563dc (diff)
downloadbrdo-7fb83c6354020e45ade31957eaf6651b52165b8b.tar.gz
brdo-7fb83c6354020e45ade31957eaf6651b52165b8b.tar.bz2
Issue #1190928 by droplet: Add examples of entity type in field_get_items() (and fix punctuation in other examples).
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index fae598d92..ba44c7356 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -2136,7 +2136,7 @@ function hook_field_info_max_weight($entity_type, $bundle, $context) {
* found in the 'display' key of $instance definitions.
* @param $context
* An associative array containing:
- * - entity_type: The entity type; e.g. 'node' or 'user'.
+ * - entity_type: The entity type; e.g., 'node' or 'user'.
* - field: The field being rendered.
* - instance: The instance being rendered.
* - entity: The entity being rendered.
@@ -2171,7 +2171,7 @@ function hook_field_display_alter(&$display, $context) {
* found in the 'display' key of $instance definitions.
* @param $context
* An associative array containing:
- * - entity_type: The entity type; e.g. 'node' or 'user'.
+ * - entity_type: The entity type; e.g., 'node' or 'user'.
* - field: The field being rendered.
* - instance: The instance being rendered.
* - entity: The entity being rendered.
@@ -2198,7 +2198,7 @@ function hook_field_display_ENTITY_TYPE_alter(&$display, $context) {
* by pseudo-field names.
* @param $context
* An associative array containing:
- * - entity_type: The entity type; e.g. 'node' or 'user'.
+ * - entity_type: The entity type; e.g., 'node' or 'user'.
* - bundle: The bundle name.
* - view_mode: The view mode, e.g. 'full', 'teaser'...
*/
@@ -2224,7 +2224,7 @@ function hook_field_extra_fields_display_alter(&$displays, $context) {
* The instance's widget properties.
* @param $context
* An associative array containing:
- * - entity_type: The entity type; e.g. 'node' or 'user'.
+ * - entity_type: The entity type; e.g., 'node' or 'user'.
* - entity: The entity object.
* - field: The field that the widget belongs to.
* - instance: The instance of the field.
@@ -2256,7 +2256,7 @@ function hook_field_widget_properties_alter(&$widget, $context) {
* The instance's widget properties.
* @param $context
* An associative array containing:
- * - entity_type: The entity type; e.g. 'node' or 'user'.
+ * - entity_type: The entity type; e.g., 'node' or 'user'.
* - entity: The entity object.
* - field: The field that the widget belongs to.
* - instance: The instance of the field.