Skip to content
Snippets Groups Projects
Commit b1138060 authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #2736821: aws_cloud - Refactored

parent 4726cf0c
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,11 @@ class InstanceLaunchForm extends CloudContentForm {
}
else {
return array('#markup' => $this->t("Error - Not found: AWS Cloud provider '$cloud_context'."));
$status = 'error';
$message = $this->t("Not found: AWS Cloud provider '@cloud_context'", array(
'@cloud_context' => $cloud_context,
));
drupal_set_message($message, $status);
}
/* @var $entity \Drupal\aws_cloud\Entity\Ec2\Instance\Entity\Instance */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment