Page MenuHomestyx hydra

PhabricatorUserCustomField.php
No OneTemporary

PhabricatorUserCustomField.php

<?php
abstract class PhabricatorUserCustomField
extends PhabricatorCustomField
implements PhabricatorUserCustomFieldInterface {
public function shouldEnableForRole($role) {
switch ($role) {
case PhabricatorUserCustomFieldInterface::ROLE_EDIT:
return $this->shouldAppearOnProfileEdit();
}
return parent::shouldEnableForRole($role);
}
public function shouldAppearOnProfileEdit() {
return true;
}
/* -( PhabricatorCustomField )--------------------------------------------- */
public function canDisableField() {
return false;
}
public function shouldAppearInApplicationTransactions() {
return true;
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Nov 26, 8:51 PM (4 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
420312
Default Alt Text
PhabricatorUserCustomField.php (670 B)

Event Timeline