diff --git a/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php b/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php index 579a7d9..e43d20e 100644 --- a/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php +++ b/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php @@ -10,7 +10,7 @@ use Drupal\Core\Entity\EntityFormController; /** - * Form controller for the test entity edit forms. + * Form controller for the shortcut set entity edit forms. */ class ShortcutFormController extends EntityFormController { diff --git a/core/modules/shortcut/lib/Drupal/shortcut/ShortcutStorageController.php b/core/modules/shortcut/lib/Drupal/shortcut/ShortcutStorageController.php index ecb890e..e906183 100644 --- a/core/modules/shortcut/lib/Drupal/shortcut/ShortcutStorageController.php +++ b/core/modules/shortcut/lib/Drupal/shortcut/ShortcutStorageController.php @@ -47,7 +47,7 @@ function postSave(EntityInterface $entity, $update) { menu_link_save($link); } // Make sure that we have a return value, since if the links were updated - // but the shortcut set was not, the call to drupal_write_record() above + // but the shortcut set was not, the call to menu_link_save() above // would not return an indication that anything had changed. return SAVED_UPDATED; }