public function getNodeCampaignMenu(NodeInterface $node) {
    if (!($campaign = $this->getNodeCampaignNode($node))) {
      return [];
    }

    return $this->getCampaignNodeCampaignMenu($campaign);
  }
public function getNodeCampaignMenu(NodeInterface $node) {
    if (!($campaign = $this->getNodeCampaignNode($node))) {
      return [];
    }

    return $this->getCampaignNodeCampaignMenu($campaign);
  }
public function getNodeCampaignMenu ( NodeInterface $ node ) { if ( ! ( $ campaign = $ this -> getNodeCampaignNode ( $ node ) ) ) { return [ ] ; } return $ this -> getCampaignNodeCampaignMenu ( $ campaign ) ; }
Retrieves Campaign menu for any node.

@param \Drupal\node\NodeInterface $node
The node.

@return array
Array of menu links.
Retrieves Campaign menu for any node .