Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

ISAICP-4620: Restructure code to more closely represent the data model #1892

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/modules/custom/collection/collection.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- drupal:link
- drupal:options
- drupal:text
- drupal:user
- ds:ds
- facets:facets
- field_group:field_group
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

namespace Drupal\joinup\Form;
declare(strict_types = 1);

namespace Drupal\collection\Form;

use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityManagerInterface;
Expand Down
2 changes: 2 additions & 0 deletions web/modules/custom/joinup_core/joinup_core.module
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Main functions and hook implementations of the Joinup core module.
*/

declare(strict_types = 1);

use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\Html;
use Drupal\Core\Access\AccessResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ class NodeWorkflowAccessControlHandler {
*/
protected $workflowHelper;

/**
* The permission scheme stored in configuration.
*
* @var \Drupal\Core\Config\ImmutableConfig
*/
protected $permissionScheme;

/**
* Constructs a JoinupDocumentRelationManager object.
*
Expand Down
12 changes: 6 additions & 6 deletions web/modules/custom/joinup_search/joinup_search.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ core: 8.x
package: Joinup

dependencies:
- drupal:node
- drupal:taxonomy
- drupal:text
- drupal:views
- facets:facets
- joinup:joinup_core
- joinup:joinup_user
- drupal:node
- joinup:search_api_field
- joinup:state_machine_revisions
- rdf_entity:rdf_entity
- search_api:search_api
- joinup:search_api_field
- search_api_solr:search_api_solr
- joinup:state_machine_revisions
- drupal:taxonomy
- drupal:text
- drupal:views

config_devel:
- facets.facet.group
Expand Down
2 changes: 1 addition & 1 deletion web/profiles/joinup/src/Routing/RouteSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function alterRoutes(RouteCollection $collection) {
// that prevents deletion of users that are sole owners of collections.
if ($route = $collection->get('user.multiple_cancel_confirm')) {
$route->addDefaults([
'_form' => '\Drupal\joinup\Form\UserMultipleCancelConfirm',
'_form' => '\Drupal\collection\Form\UserMultipleCancelConfirm',
]);
}
}
Expand Down