public static function Settings::cartUpdatedMessage in Basic cart 8.2
Same name and namespace in other branches
- 8.6 src/Settings.php \Drupal\basic_cart\Settings::cartUpdatedMessage()
- 8 src/Settings.php \Drupal\basic_cart\Settings::cartUpdatedMessage()
- 8.0 src/Settings.php \Drupal\basic_cart\Settings::cartUpdatedMessage()
- 8.3 src/Settings.php \Drupal\basic_cart\Settings::cartUpdatedMessage()
- 8.4 src/Settings.php \Drupal\basic_cart\Settings::cartUpdatedMessage()
- 8.5 src/Settings.php \Drupal\basic_cart\Settings::cartUpdatedMessage()
Return Cart updated message.
2 calls to Settings::cartUpdatedMessage()
- CartSession::addToCart in src/
CartSession.php - Add to cart.
- CartTable::addToCart in src/
CartTable.php - Add to cart.
File
- src/
Settings.php, line 38
Class
- Settings
- Settings file for basic cart.
Namespace
Drupal\basic_cartCode
public static function cartUpdatedMessage() {
$config = static::cartSettings();
drupal_set_message(t($config
->get('cart_updated_message')));
}