You are here

public function BuildTrigger::getReason in Build Hooks 3.x

Gets value of reason not to build.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Reason not to build.

File

src/Event/BuildTrigger.php, line 115

Class

BuildTrigger
Defines a class for triggering a build.

Namespace

Drupal\build_hooks\Event

Code

public function getReason() : TranslatableMarkup {
  return $this->reason;
}