Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panels_breadcrumbs
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
panels_breadcrumbs
Commits
ee7503ae
Commit
ee7503ae
authored
9 months ago
by
Viktor Holovachek
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3441468
- Fix schema
parent
3f9b66ca
No related branches found
Branches containing commit
Tags
8.x-1.0
1 merge request
!11
Issue #3441468 - Fix schema
Pipeline
#156136
passed with warnings
9 months ago
Stage: build
Stage: validate
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
panels_breadcrumbs.module
+18
-0
18 additions, 0 deletions
panels_breadcrumbs.module
with
18 additions
and
0 deletions
panels_breadcrumbs.module
+
18
−
0
View file @
ee7503ae
...
...
@@ -21,6 +21,24 @@ function panels_breadcrumbs_help($route_name, RouteMatchInterface $route_match)
}
}
/**
* Implements hook_config_schema_info_alter().
*/
function
panels_breadcrumbs_config_schema_info_alter
(
&
$definitions
)
{
if
(
isset
(
$definitions
[
'display_variant.plugin'
]))
{
$definitions
[
'display_variant.plugin'
][
'mapping'
][
'panels_breadcrumbs'
]
=
[
'type'
=>
'mapping'
,
'mapping'
=>
[
'state'
=>
[
'type'
=>
'boolean'
],
'titles'
=>
[
'type'
=>
'string'
],
'paths'
=>
[
'type'
=>
'string'
],
'home'
=>
[
'type'
=>
'boolean'
],
'home_text'
=>
[
'type'
=>
'string'
],
],
];
}
}
/**
* Implements hook_entity_type_build().
*/
...
...
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