Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have add new field Entity_Reference of Message_type.
And got this error on field edit page.
Comment | File | Size | Author |
---|---|---|---|
#2 | screen2.png | 3.65 KB | super_romeo |
screen.png | 29.32 KB | super_romeo |
Comments
Comment #1
super_romeo CreditAttribution: super_romeo commentedComment #2
super_romeo CreditAttribution: super_romeo commentedAnd If user edit this field value (except by admin), He saw "- Restricted access -" instead of item.
Comment #3
super_romeo CreditAttribution: super_romeo commentedI got why "- Restricted access -".
Because of:
function message_type_access($op, $entity, $account, $entity_type) {
return user_access('administer message types', $account);
}
But I need to give user ability to choose, messages of what message_types he want to receive.
What should I do?
Comment #4
bluegeek9 CreditAttribution: bluegeek9 as a volunteer commented