summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/language/language.module
diff options
context:
space:
mode:
authorNathaniel Catchpole <catch@35733.no-reply.drupal.org>2015-10-01 19:43:05 +0100
committerNathaniel Catchpole <catch@35733.no-reply.drupal.org>2015-10-01 19:43:30 +0100
commit03bd7fc75b824e3eceeb7172d8d79a42d9389b2b (patch)
tree6d6feefacd9bb81888380c863a3e6eced4001fc9 /core/modules/language/language.module
parent10626d87a30b65a58be006f8948cb2f3df4ea74d (diff)
downloaddrupal-03bd7fc75b824e3eceeb7172d8d79a42d9389b2b.tar.gz
drupal-03bd7fc75b824e3eceeb7172d8d79a42d9389b2b.zip
Issue #2172843 by fgm, marthinal, pfrenssen, amateescu, andypost, Wim Leers, stefan.r, pwieck, deepak_123: Remove ability to update entity bundle machine names
Diffstat (limited to 'core/modules/language/language.module')
-rw-r--r--core/modules/language/language.module9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/modules/language/language.module b/core/modules/language/language.module
index 34a433aa599..30fedc6e3b6 100644
--- a/core/modules/language/language.module
+++ b/core/modules/language/language.module
@@ -218,15 +218,6 @@ function language_configuration_element_submit(&$form, FormStateInterface $form_
}
/**
- * Implements hook_entity_bundle_rename().
- */
-function language_entity_bundle_rename($entity_type_id, $bundle_old, $bundle_new) {
- ContentLanguageSettings::loadByEntityTypeBundle($entity_type_id, $bundle_old)
- ->setTargetBundle($bundle_new)
- ->save();
-}
-
-/**
* Implements hook_entity_bundle_delete().
*/
function language_entity_bundle_delete($entity_type_id, $bundle) {