diff --git a/core/modules/config/tests/config_test/config_test.module b/core/modules/config/tests/config_test/config_test.module index c4c01b8..b10ab7b 100644 --- a/core/modules/config/tests/config_test/config_test.module +++ b/core/modules/config/tests/config_test/config_test.module @@ -69,7 +69,6 @@ function config_test_entity_info() { 'label' => 'Test configuration', 'controller class' => 'Drupal\config\ConfigStorageController', 'entity class' => 'Drupal\config_test\ConfigTest', - 'uri callback' => 'config_test_uri', 'entity keys' => array( 'id' => 'id', 'label' => 'label', @@ -80,18 +79,6 @@ function config_test_entity_info() { } /** - * Entity uri callback. - * - * @param Drupal\config_test\ConfigTest $config_test - * A ConfigTest entity. - */ -function config_test_uri(ConfigTest $config_test) { - return array( - 'path' => 'admin/structure/config_test/manage/' . $config_test->id(), - ); -} - -/** * Implements hook_menu(). */ function config_test_menu() { diff --git a/core/modules/contact/contact.module b/core/modules/contact/contact.module index d8901bc..c38fbb2 100644 --- a/core/modules/contact/contact.module +++ b/core/modules/contact/contact.module @@ -207,7 +207,6 @@ function contact_entity_info() { 'label' => 'Category', 'controller class' => 'Drupal\config\ConfigStorageController', 'entity class' => 'Drupal\contact\Category', - 'uri callback' => 'contact_category_uri', 'entity keys' => array( 'id' => 'id', 'label' => 'label', @@ -218,18 +217,6 @@ function contact_entity_info() { } /** - * Entity uri callback. - * - * @param Drupal\contact\Category $category - * A Category entity. - */ -function contact_category_uri(Category $category) { - return array( - 'path' => 'admin/structure/contact/manage/' . $category->id(), - ); -} - -/** * Loads a contact category. * * @param $id