Skip to content
Snippets Groups Projects

Issue #3145500: D10

Merged Adam Bramley requested to merge issue/simple_access-3145500:3145500-d10 into 4.x
1 unresolved thread

Closes #3145500

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
847 function simple_access_profile_disable($node, $context) {
848 foreach (array_filter($context['sa_profiles']) as $pid) {
849 if (in_array($pid, $node->simple_access_profiles)) {
850 unset($node->simple_access_profiles[array_search($pid, $node->simple_access_profiles)]);
851 }
852 }
853
854 return ['node' => $node];
855 }
856
857 /**
858 * Implements hook_views_api().
859 */
860 function simple_access_views_api() {
861 return ['api' => 2.0];
862 }
  • Adam Bramley added 2 commits

    added 2 commits

    Compare with previous version

  • Adam Bramley added 2 commits

    added 2 commits

    Compare with previous version

  • Adam Bramley added 1 commit

    added 1 commit

    Compare with previous version

  • Lee Rowlands added 1 commit

    added 1 commit

    Compare with previous version

  • Adam Bramley added 1 commit

    added 1 commit

    • 3014a2e3 - Test coverage for removing access

    Compare with previous version

  • Adam Bramley changed target branch from 8.x-3.x to 4.x

    changed target branch from 8.x-3.x to 4.x

  • Adam Bramley added 1 commit

    added 1 commit

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading