Page MenuHomePhabricator

AddANoteDifferentialField.php

Authored By
epriestley
Mar 10 2016, 1:48 AM
Size
547 B
Referenced Files
None
Subscribers
None

AddANoteDifferentialField.php

<?php
final class AddANoteDifferentialField extends DifferentialCustomField {
public function getFieldKey() {
return 'mycompany:customnote';
}
public function shouldAppearInPropertyView() {
return true;
}
public function renderPropertyViewValue(array $handles) {
return null;
}
public function getWarningsForDetailView() {
$warnings = array();
$warnings[] = pht(
'If you accept a change that has a bug, you will be fired '.
'immediately! Forever! So be careful!');
return $warnings;
}
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
74750
Default Alt Text
AddANoteDifferentialField.php (547 B)

Event Timeline