You are here

public static function Settings::cartSettings in Basic cart 8

Same name and namespace in other branches
  1. 8.6 src/Settings.php \Drupal\basic_cart\Settings::cartSettings()
  2. 8.0 src/Settings.php \Drupal\basic_cart\Settings::cartSettings()
  3. 8.2 src/Settings.php \Drupal\basic_cart\Settings::cartSettings()
  4. 8.3 src/Settings.php \Drupal\basic_cart\Settings::cartSettings()
  5. 8.4 src/Settings.php \Drupal\basic_cart\Settings::cartSettings()
  6. 8.5 src/Settings.php \Drupal\basic_cart\Settings::cartSettings()
9 calls to Settings::cartSettings()
CartSession::addToCart in src/CartSession.php
CartTable::addToCart in src/CartTable.php
Settings::cartUpdatedMessage in src/Settings.php
Settings::formatPrice in src/Settings.php
Formats the input $price in the desired format.
Settings::getTotalPrice in src/Settings.php
* Returns the final price for the shopping cart. * *

... See full list

File

src/Settings.php, line 26

Class

Settings

Namespace

Drupal\basic_cart

Code

public static function cartSettings() {
  $return = \Drupal::config('basic_cart.settings');
  return $return;
}