public function DeleteContent::sayHello in Drush Delete All 3.x
Same name and namespace in other branches
- 8.2 src/DeleteContent.php \Drupal\drush_delete\DeleteContent::sayHello()
Displays the Hello message.
File
- src/
DeleteContent.php, line 51
Class
- DeleteContent
- Delete content service class.
Namespace
Drupal\drush_deleteCode
public function sayHello($name = '') {
if (empty($name)) {
return $this->saysomething;
}
else {
return "Hello " . $name . "!";
}
}