Differential D20303 Diff 48501 src/applications/project/trigger/PhabricatorProjectTriggerUnknownRule.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/trigger/PhabricatorProjectTriggerUnknownRule.php
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | final class PhabricatorProjectTriggerUnknownRule | ||||
| protected function getPHUIXControlType() { | protected function getPHUIXControlType() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| protected function getPHUIXControlSpecification() { | protected function getPHUIXControlSpecification() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| public function getRuleViewLabel() { | |||||
| return pht('Unknown Rule'); | |||||
| } | |||||
| public function getRuleViewDescription($value) { | |||||
| return pht( | |||||
| 'This is an unknown rule of type "%s". An administrator may have '. | |||||
| 'edited or removed an extension which implements this rule type.', | |||||
| $this->getRecord()->getType()); | |||||
| } | |||||
| public function getRuleViewIcon($value) { | |||||
| return id(new PHUIIconView()) | |||||
| ->setIcon('fa-question-circle', 'yellow'); | |||||
| } | |||||
| } | } | ||||