how to get user information
Created 7 years ago by jubayed

howto get userinformtion by relationship field_type

protected $fields = [ 'username_author' => [ 'type' => 'anomaly.field_type.relationship', 'config' => [ 'related' => 'Anomaly\UsersModule\User\UserModel', ], ],

    'displayname_author'           => [
        'type'   => 'anomaly.field_type.relationship',
        'config' => [
            'related' => 'Anomaly\UsersModule\User\UserModel',
        ],
    ],

];

ryanthompson  —  7 years ago

You want the displayname_author from the user object? Or user information through the displayname_author?

jubayed  —  7 years ago

@ryanthompson

how to create hidden field