summaryrefslogtreecommitdiff
path: root/modules/field_ui
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-12 05:38:10 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-12 05:38:10 +0000
commit3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1 (patch)
treebfb1d8c87fde1249676913d040839d8c538c2e16 /modules/field_ui
parent7562a8efb36306e96bf4d13b1f97b4573809ab45 (diff)
downloadbrdo-3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1.tar.gz
brdo-3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1.tar.bz2
#707724 follow-up by yched: More Field API/Entity API terminology clean-up.
Diffstat (limited to 'modules/field_ui')
-rw-r--r--modules/field_ui/field_ui.admin.inc2
-rw-r--r--modules/field_ui/field_ui.module2
-rw-r--r--modules/field_ui/field_ui.test8
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/field_ui/field_ui.admin.inc b/modules/field_ui/field_ui.admin.inc
index 9d4cb4647..e50d8d4c6 100644
--- a/modules/field_ui/field_ui.admin.inc
+++ b/modules/field_ui/field_ui.admin.inc
@@ -790,7 +790,7 @@ function field_ui_existing_field_options($entity_type, $bundle) {
// Don't show
// - locked fields,
// - fields already in the current bundle,
- // - field that cannot be added to the object type.
+ // - field that cannot be added to the entity type.
if (empty($field['locked'])
&& !field_info_instance($entity_type, $field['field_name'], $bundle)
&& (empty($field['object_types']) || in_array($entity_type, $field['object_types']))) {
diff --git a/modules/field_ui/field_ui.module b/modules/field_ui/field_ui.module
index d9ee659a4..2f97a2512 100644
--- a/modules/field_ui/field_ui.module
+++ b/modules/field_ui/field_ui.module
@@ -35,7 +35,7 @@ function field_ui_help($path, $arg) {
function field_ui_menu() {
$items['admin/reports/fields'] = array(
'title' => 'Field list',
- 'description' => 'Overview of fields on all object types.',
+ 'description' => 'Overview of fields on all entity types.',
'page callback' => 'field_ui_fields_list',
'access arguments' => array('administer content types'),
'type' => MENU_NORMAL_ITEM,
diff --git a/modules/field_ui/field_ui.test b/modules/field_ui/field_ui.test
index 624ddd3e5..01064652f 100644
--- a/modules/field_ui/field_ui.test
+++ b/modules/field_ui/field_ui.test
@@ -146,10 +146,10 @@ class FieldUITestCase extends DrupalWebTestCase {
$this->drupalGet(('admin/structure/types/manage/page/fields'));
$this->assertRaw(t('Add existing field'), t('"Add existing field" was found.'));
- // Check that the list of options respects object type restrictions on
- // fields. The 'comment' field is restricted to the 'comment' object type
+ // Check that the list of options respects entity type restrictions on
+ // fields. The 'comment' field is restricted to the 'comment' entity type
// and should not appear in the list.
- $this->assertFalse($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="comment"]'), t('The list of options respects object type restrictions.'));
+ $this->assertFalse($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="comment"]'), t('The list of options respects entity type restrictions.'));
// Add a new field based on an existing field.
$edit = array(
@@ -206,7 +206,7 @@ class FieldUITestCase extends DrupalWebTestCase {
* @param $string
* The settings text.
* @param $entity_type
- * The object type for the instance.
+ * The entity type for the instance.
*/
function assertFieldSettings($bundle, $field_name, $string = 'dummy test string', $entity_type = 'node') {
// Reset the fields info.