field_attach_rename_bundle

  1. drupal
    1. drupal7
Versionen
drupal7 field_attach_rename_bundle($bundle_old, $bundle_new)

Notify field.module that a bundle was renamed.

Übergabeparameter

$bundle_old The previous name of the bundle.

$bundle_new The new name of the bundle.

This function is an autoloader for _field_attach_rename_bundle() in modules/field/field.attach.inc.

Verwandte Themen

▾ 2 functions call field_attach_rename_bundle()

field_test_rename_bundle in modules/simpletest/tests/field_test.module
Rename a bundle for test_entity objects.
node_type_save in modules/node/node.module
Saves a node type to the database.

Code

modules/field/field.autoload.inc, line 332

<?php
function field_attach_rename_bundle($bundle_old, $bundle_new) {
  require_once DRUPAL_ROOT . '/modules/field/field.attach.inc';
  return _field_attach_rename_bundle($bundle_old, $bundle_new);
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen