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/ Ads/ Create.php, line 20
Class
- Create
- New advertisement form.
Namespace
Drupal\simpleads\Form\AdsCode
public function setTitle($type = NULL) {
$ads = new Ads();
return $this
->t('Create new <em>@type</em>', [
'@type' => $ads
->getName($type),
]);
}