public function Edit::setTitle in SimpleAds 8
Same name in this branch
- 8 src/Form/Groups/Edit.php \Drupal\simpleads\Form\Groups\Edit::setTitle()
- 8 src/Form/Ads/Edit.php \Drupal\simpleads\Form\Ads\Edit::setTitle()
- 8 src/Form/Campaigns/Edit.php \Drupal\simpleads\Form\Campaigns\Edit::setTitle()
Set page title.
1 string reference to 'Edit::setTitle'
File
- src/
Form/ Campaigns/ Edit.php, line 18
Class
- Edit
- Edit advertisement campaign form.
Namespace
Drupal\simpleads\Form\CampaignsCode
public function setTitle($type = NULL, $id = NULL) {
$campaigns = (new Campaigns())
->setId($id)
->load();
return $this
->t('Edit <em>@name</em>', [
'@name' => $campaigns
->getCampaignName(),
]);
}