Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maxlength
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
maxlength
Merge requests
!52
#3462158
Update maxlength.install to use an internal URI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
#3462158
Update maxlength.install to use an internal URI
issue/maxlength-3462158:3462158-install-fails-recipe
into
3.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Ivan Duarte
requested to merge
issue/maxlength-3462158:3462158-install-fails-recipe
into
3.x
10 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Update maxlength.install to use an internal URI
0
0
Merge request reports
Compare
3.x
3.x (base)
and
latest version
latest version
e2b3ab0a
1 commit,
10 months ago
1 file
+
1
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
maxlength.install
+
1
−
2
Options
@@ -11,8 +11,7 @@ use Drupal\Core\Url;
* Implements hook_install().
*/
function
maxlength_install
()
{
$base
=
\Drupal
::
request
()
->
getSchemeAndHttpHost
();
$linkUrl
=
Url
::
fromUri
(
$base
.
'/admin/help/maxlength'
);
$linkUrl
=
Url
::
fromUri
(
'internal:/admin/help/maxlength'
);
$link
=
[
'#type'
=>
'link'
,
'#title'
=>
t
(
'MaxLength Help Page'
),
Loading