Skip to content
Snippets Groups Projects
Commit ee7503ae authored by Viktor Holovachek's avatar Viktor Holovachek
Browse files

Issue #3441468 - Fix schema

parent 3f9b66ca
No related branches found
Tags 8.x-1.0
1 merge request!11Issue #3441468 - Fix schema
Pipeline #156136 passed with warnings
......@@ -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().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment