Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Updating changelog
  os2forms_permissions_by_term WSOD fix
  • Loading branch information
stankut committed Oct 2, 2023
2 parents faad126 + 0cda678 commit 13f794e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ before starting to add changes. Use example [placed in the end of the page](#exa

## [Unreleased]

## [3.12.1] 2023-10-02

- os2forms_permissions_by_term: removing node access control - WSOD fix

## [3.12.0] 2023-10-02

- Removing webform_embed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,6 @@ use Drupal\views\Plugin\views\query\QueryPluginBase;
use Drupal\views\ViewExecutable;
use Drupal\webform\WebformInterface;

/**
* Implements hook_module_implements_alter().
*
* We need the hook_options_list_alter() in this module to trigger after the one
* in permissions_by_term module.
*/
function os2forms_permissions_by_term_module_implements_alter(&$implementations, $hook) {
switch ($hook) {
// Move our hook_options_list_alter() implementation to the end of the list
// so it is handled after permissions_by_term module.
case 'options_list_alter':
$temp = $implementations['os2forms_permissions_by_term'];
unset($implementations['os2forms_permissions_by_term']);
$implementations['os2forms_permissions_by_term'] = $temp;
break;
}
}

/**
* Implements hook_form_FORM_ID_alter().
*
Expand Down

0 comments on commit 13f794e

Please sign in to comment.