Page MenuHomePhorge

DifferentialRevisionHasCommitRelationship.php
No OneTemporary

DifferentialRevisionHasCommitRelationship.php

<?php
final class DifferentialRevisionHasCommitRelationship
extends DifferentialRevisionRelationship {
const RELATIONSHIPKEY = 'revision.has-commit';
public function getEdgeConstant() {
return DifferentialRevisionHasCommitEdgeType::EDGECONST;
}
protected function getActionName() {
return pht('Edit Commits');
}
protected function getActionIcon() {
return 'fa-code';
}
public function canRelateObjects($src, $dst) {
return ($dst instanceof PhabricatorRepositoryCommit);
}
public function getDialogTitleText() {
return pht('Edit Related Commits');
}
public function getDialogHeaderText() {
return pht('Current Commits');
}
public function getDialogButtonText() {
return pht('Save Related Commits');
}
protected function newRelationshipSource() {
return new DiffusionCommitRelationshipSource();
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Mar 27, 00:54 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1199927
Default Alt Text
DifferentialRevisionHasCommitRelationship.php (876 B)

Event Timeline