You are here

public function DeleteContent::sayHello in Drush Delete All 8.2

Same name and namespace in other branches
  1. 3.x src/DeleteContent.php \Drupal\drush_delete\DeleteContent::sayHello()

File

src/DeleteContent.php, line 13

Class

DeleteContent

Namespace

Drupal\drush_delete

Code

public function sayHello($name = '') {
  if (empty($name)) {
    return $this->say_something;
  }
  else {
    return "Hello " . $name . "!";
  }
}