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