diff --git a/core/modules/locale/lib/Drupal/locale/StringBase.php b/core/modules/locale/lib/Drupal/locale/StringBase.php index f45f714..81544f0 100644 --- a/core/modules/locale/lib/Drupal/locale/StringBase.php +++ b/core/modules/locale/lib/Drupal/locale/StringBase.php @@ -67,7 +67,7 @@ public function __construct($values = array()) { } /** - * Implements Drupal\locale\StringInterface::id(). + * Implements Drupal\locale\StringInterface::getId(). */ public function getId() { return isset($this->lid) ? $this->lid : NULL; diff --git a/core/modules/system/tests/modules/session_test/session_test.routing.yml b/core/modules/system/tests/modules/session_test/session_test.routing.yml index 300e7b2..1e7b127 100644 --- a/core/modules/system/tests/modules/session_test/session_test.routing.yml +++ b/core/modules/system/tests/modules/session_test/session_test.routing.yml @@ -10,7 +10,7 @@ session_test.id: path: '/session-test/id' defaults: _title: 'Session ID' - _controller: '\Drupal\session_test\Controller\SessionTestController::id' + _controller: '\Drupal\session_test\Controller\SessionTestController::getId' requirements: _permission: 'access content'