// File is: ./src/applications/project/controller/PhabricatorProjectBoardViewController.php
// line above is: $panel->setHeaderTag($count_tag);
// Doing what getCreateURI() used to do before 6f7bb8c removed it
$edit_config = id(new ManiphestEditEngine())
->setViewer($this->getViewer())
->loadDefaultEditConfiguration(new ManiphestTask());
if ($edit_config) {
$create_uri = "/maniphest/task/edit/form/{$edit_config->getIdentifier()}/";
} else {
$create_uri = "/maniphest/task/edit/";
}
if ($column->getProxyPHID()) {
$default_phid = $column->getProxyPHID();
} else {
$default_phid = $column->getProjectPHID();
}
$panel->addHeaderAction(id(new PHUIIconView())
->setIcon('fa-plus')
->setHref($create_uri)
->addSigil('column-add-task')
->setMetadata(
array(
'createURI' => $create_uri,
'columnPHID' => $column->getPHID(),
'boardPHID' => $project->getPHID(),
'projectPHID' => $default_phid,
))
);
// line below is: $cards = id(new PHUIObjectItemListView())