*
* @see UnSandboxForm
*/
-
class RevokeRoleForm extends ProfileActionForm
{
function __construct($role, $label, $writer, $profile, $r2args)
*
* @return string Name of the action, lowercased.
*/
-
function target()
{
return 'revokerole';
*
* @return string Title of the form, internationalized
*/
-
function title()
{
return $this->label;
*
* @return string description of the form, internationalized
*/
-
function description()
{
+ // TRANS: Description of role revoke form. %s is the role to be revoked.
return sprintf(_('Revoke the "%s" role from this user'), $this->label);
}
}