summaryrefslogtreecommitdiff
path: root/modules/field_ui
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-10 22:31:58 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-09-10 22:31:58 +0000
commitb47e68011f520ccadc2924e8240dc461f0c64fe7 (patch)
tree658261afcf0fa507637e468256441b7e488c8ea9 /modules/field_ui
parent0d8adb439d47d2f30fc0d4edee029f40d3145316 (diff)
downloadbrdo-b47e68011f520ccadc2924e8240dc461f0c64fe7.tar.gz
brdo-b47e68011f520ccadc2924e8240dc461f0c64fe7.tar.bz2
#569072 by rcross and yched: Clean field_attach_()* namespace by renaming and moving non-crud functions.
Diffstat (limited to 'modules/field_ui')
-rw-r--r--modules/field_ui/field_ui.admin.inc12
1 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 759e53920..9b9537ac5 100644
--- a/modules/field_ui/field_ui.admin.inc
+++ b/modules/field_ui/field_ui.admin.inc
@@ -66,7 +66,7 @@ function field_ui_inactive_message($bundle) {
* Allows fields and pseudo-fields to be re-ordered.
*/
function field_ui_field_overview_form(&$form_state, $obj_type, $bundle) {
- $bundle = field_attach_extract_bundle($obj_type, $bundle);
+ $bundle = field_extract_bundle($obj_type, $bundle);
field_ui_inactive_message($bundle);
$admin_path = _field_ui_bundle_admin_path($bundle);
@@ -551,7 +551,7 @@ function field_ui_field_overview_form_submit($form, &$form_state) {
* full build modes, and how the field labels should be rendered.
*/
function field_ui_display_overview_form(&$form_state, $obj_type, $bundle, $build_modes_selector = 'basic') {
- $bundle = field_attach_extract_bundle($obj_type, $bundle);
+ $bundle = field_extract_bundle($obj_type, $bundle);
field_ui_inactive_message($bundle);
$admin_path = _field_ui_bundle_admin_path($bundle);
@@ -791,7 +791,7 @@ function field_ui_field_has_data($field) {
* Menu callback; presents the field settings edit page.
*/
function field_ui_field_settings_form(&$form_state, $obj_type, $bundle, $instance) {
- $bundle = field_attach_extract_bundle($obj_type, $bundle);
+ $bundle = field_extract_bundle($obj_type, $bundle);
$field = field_info_field($instance['field_name']);
// When a field is first created, we have to get data from the db.
@@ -888,7 +888,7 @@ function field_ui_field_settings_form_submit($form, &$form_state) {
* Menu callback; select a widget for the field.
*/
function field_ui_widget_type_form(&$form_state, $obj_type, $bundle, $instance) {
- $bundle = field_attach_extract_bundle($obj_type, $bundle);
+ $bundle = field_extract_bundle($obj_type, $bundle);
$field = field_read_field($instance['field_name']);
$field_type = field_info_field_types($field['type']);
@@ -947,7 +947,7 @@ function field_ui_widget_type_form_submit($form, &$form_state) {
* Menu callback; present a form for removing a field from a content type.
*/
function field_ui_field_delete_form(&$form_state, $obj_type, $bundle, $instance) {
- $bundle = field_attach_extract_bundle($obj_type, $bundle);
+ $bundle = field_extract_bundle($obj_type, $bundle);
$field = field_info_field($instance['field_name']);
$admin_path = _field_ui_bundle_admin_path($bundle);
@@ -1001,7 +1001,7 @@ function field_ui_field_delete_form_submit($form, &$form_state) {
* Menu callback; presents the field instance edit page.
*/
function field_ui_field_edit_form(&$form_state, $obj_type, $bundle, $instance) {
- $bundle = field_attach_extract_bundle($obj_type, $bundle);
+ $bundle = field_extract_bundle($obj_type, $bundle);
$field = field_info_field($instance['field_name']);
$form['#field'] = $field;