public function CartController::getThankyouPageTitle in Basic cart 8
Same name and namespace in other branches
- 8.6 src/Controller/CartController.php \Drupal\basic_cart\Controller\CartController::getThankyouPageTitle()
- 8.0 src/Controller/CartController.php \Drupal\basic_cart\Controller\CartController::getThankyouPageTitle()
- 8.2 src/Controller/CartController.php \Drupal\basic_cart\Controller\CartController::getThankyouPageTitle()
- 8.3 src/Controller/CartController.php \Drupal\basic_cart\Controller\CartController::getThankyouPageTitle()
- 8.4 src/Controller/CartController.php \Drupal\basic_cart\Controller\CartController::getThankyouPageTitle()
- 8.5 src/Controller/CartController.php \Drupal\basic_cart\Controller\CartController::getThankyouPageTitle()
1 string reference to 'CartController::getThankyouPageTitle'
File
- src/
Controller/ CartController.php, line 121 - Contains \Drupal\basic_cart\Controller\CartController.
Class
- CartController
- Contains the cart controller.
Namespace
Drupal\basic_cart\ControllerCode
public function getThankyouPageTitle() {
$utility = new Utility();
$config = $utility
->checkoutSettings();
$message = $config
->get('thankyou')['title'];
return $this
->t($message);
}