protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $product = $this->getProduct();
     if ($product) {
         $crumbs->addTextCrumb($product->getName(), $this->getProductViewURI($product));
     }
     return $crumbs;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $crumbs->addAction(id(new PHUIListItemView())->setName(pht('Create Product'))->setHref($this->getApplicationURI('product/create/'))->setIcon('fa-plus-square'));
     return $crumbs;
 }