deactivation_offers
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Deactivate and move (doc/eng-us/features/6.0/user-hygiene.md): whether a user's page and the context menu offer Deactivate and move and Reactivate and move back for an object, for the current user: hash( deactivate, reactivate ), both false when [UserSettings] DeactivateAndMove is not enabled or the user may not (see expUserDeactivation::offers())
Usage
fetch( 'user', 'deactivation_offers',
hash( 'object_id', object_id ) )Parameters
| Name | Type | Required | Default |
|---|---|---|---|
| object_id | integer | Yes. |
Source
kernel/user/function_definition.php, eZUserFunctionCollection::fetchDeactivationOffers()
See also
Help: features/6.0/user-hygiene.md
Generated example: fetch( 'user', 'deactivation_offers' )
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment