Loading core/lib/Drupal/Component/Utility/Unicode.php +2 −2 Original line number Diff line number Diff line Loading @@ -291,12 +291,12 @@ public static function ucwords($text) { * adding an ellipsis, if $add_ellipsis is TRUE). Has no effect if $wordsafe * is FALSE. This can be used to prevent having a very short resulting string * that will not be understandable. For instance, if you are truncating the * string "See myverylongurlexample.com for more information" to a word-safe * string "See MyVeryLongURLExample.com for more information" to a word-safe * return length of 20, the only available word boundary within 20 characters * is after the word "See", which wouldn't leave a very informative string. If * you had set $min_wordsafe_length to 10, though, the function would realise * that "See" alone is too short, and would then just truncate ignoring word * boundaries, giving you "See myverylongurl..." (assuming you had set * boundaries, giving you "See MyVeryLongURL..." (assuming you had set * $add_ellipsis to TRUE). * * @return string Loading core/lib/Drupal/Core/Utility/ThemeRegistry.php +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public function __construct($cid, CacheBackendInterface $cache, LockBackendInter $this->tags = $tags; $this->persistable = $modules_loaded && \Drupal::hasRequest() && \Drupal::request()->isMethod('GET'); // @todo: Implement lazyload. // @todo: Implement lazy-loading. $this->cacheLoaded = TRUE; if ($this->persistable && $cached = $this->cache->get($this->cid)) { Loading core/misc/cspell/dictionary.txt +0 −12 Original line number Diff line number Diff line Loading @@ -601,9 +601,7 @@ langcode langcodes langname languageswitcher layouted lazybuilder lazyload lcode leftjoin libc Loading Loading @@ -637,11 +635,6 @@ longblob longerthan longtext loquesea loreming loremingipsum loremipsum loremipsumloremipsum lowlevel lowline lrdd lstitle Loading @@ -659,7 +652,6 @@ mainpage makealternatemessage makedefaultmessage makewarningmessage mame mank maryjane marz Loading Loading @@ -695,13 +687,11 @@ mimetypes minifyzombies minimise minipager minky minusthick missingkey missingkeys mlfr mlid mlids moby mocktail mocktails Loading @@ -713,11 +703,9 @@ mojito montag monthnames mooooh mosie mostrar moutons moyenne mple msgctxt msgid msgstr Loading core/modules/book/src/BookManagerInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ public function bookTreeAllData($bid, $link = NULL, $max_depth = NULL); * A fully loaded menu link. * * @return array * An array containing the active trail: a list of mlids. * An array containing the active trail: a list of menu link IDs. */ public function getActiveTrailIds($bid, $link); Loading core/modules/comment/tests/src/Functional/CommentInterfaceTest.php +4 −4 Original line number Diff line number Diff line Loading @@ -236,15 +236,15 @@ public function testAutoFilledSubject() { $this->drupalGet('node/' . $this->node->id()); // Break when there is a word boundary before 29 characters. $body_text = 'Lorem ipsum Lorem ipsum Loreming ipsum Lorem ipsum'; $body_text = 'A quick brown fox jumped over the lazy dog'; $comment1 = $this->postComment(NULL, $body_text, '', TRUE); $this->assertTrue($this->commentExists($comment1), 'Form comment found.'); $this->assertEquals('Lorem ipsum Lorem ipsum…', $comment1->getSubject()); $this->assertEquals('A quick brown fox jumped…', $comment1->getSubject()); // Break at 29 characters where there's no boundary before that. $body_text2 = 'LoremipsumloremipsumLoremingipsumLoremipsum'; $body_text2 = 'AQuickBrownFoxJumpedOverTheLazyDog'; $comment2 = $this->postComment(NULL, $body_text2, '', TRUE); $this->assertEquals('LoremipsumloremipsumLoreming…', $comment2->getSubject()); $this->assertEquals('AQuickBrownFoxJumpedOverTheL…', $comment2->getSubject()); } /** Loading Loading
core/lib/Drupal/Component/Utility/Unicode.php +2 −2 Original line number Diff line number Diff line Loading @@ -291,12 +291,12 @@ public static function ucwords($text) { * adding an ellipsis, if $add_ellipsis is TRUE). Has no effect if $wordsafe * is FALSE. This can be used to prevent having a very short resulting string * that will not be understandable. For instance, if you are truncating the * string "See myverylongurlexample.com for more information" to a word-safe * string "See MyVeryLongURLExample.com for more information" to a word-safe * return length of 20, the only available word boundary within 20 characters * is after the word "See", which wouldn't leave a very informative string. If * you had set $min_wordsafe_length to 10, though, the function would realise * that "See" alone is too short, and would then just truncate ignoring word * boundaries, giving you "See myverylongurl..." (assuming you had set * boundaries, giving you "See MyVeryLongURL..." (assuming you had set * $add_ellipsis to TRUE). * * @return string Loading
core/lib/Drupal/Core/Utility/ThemeRegistry.php +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public function __construct($cid, CacheBackendInterface $cache, LockBackendInter $this->tags = $tags; $this->persistable = $modules_loaded && \Drupal::hasRequest() && \Drupal::request()->isMethod('GET'); // @todo: Implement lazyload. // @todo: Implement lazy-loading. $this->cacheLoaded = TRUE; if ($this->persistable && $cached = $this->cache->get($this->cid)) { Loading
core/misc/cspell/dictionary.txt +0 −12 Original line number Diff line number Diff line Loading @@ -601,9 +601,7 @@ langcode langcodes langname languageswitcher layouted lazybuilder lazyload lcode leftjoin libc Loading Loading @@ -637,11 +635,6 @@ longblob longerthan longtext loquesea loreming loremingipsum loremipsum loremipsumloremipsum lowlevel lowline lrdd lstitle Loading @@ -659,7 +652,6 @@ mainpage makealternatemessage makedefaultmessage makewarningmessage mame mank maryjane marz Loading Loading @@ -695,13 +687,11 @@ mimetypes minifyzombies minimise minipager minky minusthick missingkey missingkeys mlfr mlid mlids moby mocktail mocktails Loading @@ -713,11 +703,9 @@ mojito montag monthnames mooooh mosie mostrar moutons moyenne mple msgctxt msgid msgstr Loading
core/modules/book/src/BookManagerInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ public function bookTreeAllData($bid, $link = NULL, $max_depth = NULL); * A fully loaded menu link. * * @return array * An array containing the active trail: a list of mlids. * An array containing the active trail: a list of menu link IDs. */ public function getActiveTrailIds($bid, $link); Loading
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php +4 −4 Original line number Diff line number Diff line Loading @@ -236,15 +236,15 @@ public function testAutoFilledSubject() { $this->drupalGet('node/' . $this->node->id()); // Break when there is a word boundary before 29 characters. $body_text = 'Lorem ipsum Lorem ipsum Loreming ipsum Lorem ipsum'; $body_text = 'A quick brown fox jumped over the lazy dog'; $comment1 = $this->postComment(NULL, $body_text, '', TRUE); $this->assertTrue($this->commentExists($comment1), 'Form comment found.'); $this->assertEquals('Lorem ipsum Lorem ipsum…', $comment1->getSubject()); $this->assertEquals('A quick brown fox jumped…', $comment1->getSubject()); // Break at 29 characters where there's no boundary before that. $body_text2 = 'LoremipsumloremipsumLoremingipsumLoremipsum'; $body_text2 = 'AQuickBrownFoxJumpedOverTheLazyDog'; $comment2 = $this->postComment(NULL, $body_text2, '', TRUE); $this->assertEquals('LoremipsumloremipsumLoreming…', $comment2->getSubject()); $this->assertEquals('AQuickBrownFoxJumpedOverTheL…', $comment2->getSubject()); } /** Loading