Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
paragraphs_summary_token
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
paragraphs_summary_token
Commits
5bcf197e
Commit
5bcf197e
authored
5 months ago
by
Jeroen Tubex
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3421959
: Module weight must be higher than token module weight
parent
3a478010
No related branches found
No related tags found
1 merge request
!12
Add new file
Pipeline
#280010
passed with warnings
5 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
paragraphs_summary_token.install
+22
-0
22 additions, 0 deletions
paragraphs_summary_token.install
with
22 additions
and
0 deletions
paragraphs_summary_token.install
0 → 100644
+
22
−
0
View file @
5bcf197e
<?php
/**
* @file
* Installation hooks for paragraphs_summary_token module.
*/
/**
* Implements hook_install().
*/
function
paragraphs_summary_token_install
()
{
// Assign a weight higher than the token module.
module_set_weight
(
'paragraphs_summary_token'
,
1
);
}
/**
* Set module weight.
*/
function
paragraphs_summary_token_update_8001
()
{
// Assign a weight higher than the token module.
module_set_weight
(
'paragraphs_summary_token'
,
1
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment