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/ Groups/ Edit.php, line 18
Class
- Edit
- Edit advertisement group form.
Namespace
Drupal\simpleads\Form\GroupsCode
public function setTitle($id = NULL) {
$group = (new Groups())
->setId($id)
->load();
return $this
->t('Edit <em>@name</em> group', [
'@name' => $group
->getGroupName(),
]);
}