Skip to content

Commit

Permalink
added custom module dependencies enforced section under install/confi…
Browse files Browse the repository at this point in the history
…g for #1707 (#812)
  • Loading branch information
wgilling authored Mar 31, 2021
1 parent 47213e2 commit d76a664
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
maxDepth: -1
includeSelf: FALSE
referenceField: field_member_of
dependencies:
module:
- islandora
enforced:
module:
- islandora_breadcrumbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
islandora.breadcrumbs:
islandora_breadcrumbs.breadcrumbs:
type: config_object
mapping:
maxDepth:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class IslandoraBreadcrumbBuilder implements BreadcrumbBuilderInterface {
*/
public function __construct(EntityTypeManagerInterface $entity_manager, ConfigFactoryInterface $config_factory) {
$this->nodeStorage = $entity_manager->getStorage('node');
$this->config = $config_factory->get('islandora.breadcrumbs');
$this->config = $config_factory->get('islandora_breadcrumbs.breadcrumbs');
}

/**
Expand Down

0 comments on commit d76a664

Please sign in to comment.