The function "permissions_by_term_theme()" is duplicated in the .module file both on line 621 and line 641
/**
* Implements hook_theme().
*/
function permissions_by_term_theme() {
return [
'permissions_by_term_render_node_details' => [
'variables' => [
'roles' => [],
'users' => [],
],
'template' => 'node-details',
'path' => \Drupal::service('extension.list.module')->getPath('permissions_by_term') . '/src/View',
]
];
}
remove second copy
create a patch
Closed: works as designed
3.1
Code