Closed (fixed)
Project:
Field Permissions
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2017 at 20:11 UTC
Updated:
27 Sep 2017 at 17:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ibustosComment #3
ibustosAttached patch.
Comment #4
ibustosComment #5
jhedstromGood idea! Since these are already plugins though, we just need to add a call set our desired alter hook in our plugin manager class (
\Drupal\field_permissions\Plugin\FieldPermissionType\Manager):So in the
__construct()method something like:This would make the alter hook
hook_field_permissions_types_alter().Comment #7
jhedstromDisregard my above comment, I completely missed the second part of the patch where you had indeed done as I suggested already :)
Committed. Thanks!