Protected Optional _configTrait instance configuration.
Protected _globalWhether this is a global (not bound to any specific schema item) trait instance.
Private _skip_Private _targetsProtected Optional _typeTrait type.
Attaches Trait callbacks to schema item hooks.
Makes this Trait instance global.
Post-view hook implementation.
Update the content..
This method is triggered when a trait callback has been activated
This is the name of the callback function to call.
References to the Graph Hanlder
Request data passed along as part of the request.
FieldVisibilityTrait config setter.
This configuration object contains a list of field visibility rules
Helper method for wrapping legacy Kosmos traits callbacks.
TODO: Remove this method once all Traits are converted.
Optional callbackName: stringOptional callback name; passing this parameter will additionally wrap the callback into legacy process().
Static traitGenerated using TypeDoc
Field Visibility Trait is used to hide/replace sensitive fields information based on certain conditions.
Usage: